Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat graphql #577

Merged
merged 44 commits into from
Dec 26, 2022
Merged

Feat graphql #577

merged 44 commits into from
Dec 26, 2022

Conversation

abnegate
Copy link
Contributor

@abnegate abnegate commented Oct 20, 2022

What does this PR do?

  • Add x-sdk-graphql header for methods with graphql method type, to allow Appwrite to extract parameters from a parameterless route
  • Allow list or object responses for strongly typed languages that did not already (Android/Kotlin/Swift/Apple), for GraphQL batched requests which return a list of objects
  • Add GraphQL language
  • Add GraphQL example template
  • Fix REST example template
  • Add abstract base class HTTP which REST and GraphQL extend

Test Plan

Existing tests

Related PRs and Issues

appwrite/docs#287
https://github.com/appwrite/homepage/pull/113
appwrite/appwrite#974

Have you read the Contributing Guidelines on issues?

Yes

@abnegate abnegate mentioned this pull request Oct 20, 2022
9 tasks
@abnegate abnegate mentioned this pull request Oct 21, 2022
@abnegate abnegate marked this pull request as ready for review October 24, 2022 23:10
@abnegate abnegate mentioned this pull request Oct 26, 2022
# Conflicts:
#	src/SDK/Language/HTTP.php
#	templates/kotlin/src/main/kotlin/io/appwrite/services/ServiceTemplate.kt.twig
#	templates/swift/Sources/Services/Service.swift.twig
@abnegate abnegate requested a review from eldadfux December 19, 2022 07:50
@abnegate abnegate requested a review from eldadfux December 22, 2022 08:21
@eldadfux eldadfux merged commit 4d35fb0 into master Dec 26, 2022
@lohanidamodar lohanidamodar deleted the feat-graphql branch March 2, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants