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

Support Object Types #22

Closed
22 tasks done
rafalp opened this issue Jul 20, 2023 · 1 comment
Closed
22 tasks done

Support Object Types #22

rafalp opened this issue Jul 20, 2023 · 1 comment
Labels
next-api Support for both code and schema first approaches prio: high High priority
Milestone

Comments

@rafalp
Copy link
Contributor

rafalp commented Jul 20, 2023

Next API should support GraphQL type definition.

TODO

  • Define fields using field: type syntax
  • Define fields using field = ObjectType.field(...) syntax
  • Define fields using field: type = ObjectType.field(...) syntax
  • Define fields using @ObjectType.field(...) syntax
  • Define type using __schema__ = gql(...) syntax
  • Define fields resolvers using @ObjectType.resolver()
  • Define fields returning default scalars
  • Define fields returning custom types
  • Define fields arguments on resolvers for built-in GraphQL scalars
  • Customize fields arguments behavior
  • Define fields arguments on resolvers for custom scalars
  • Define fields arguments on resolvers for input types
  • Define fields aliases using __aliases__ magic attribute
  • Set outnames on fields arguments
  • Validate field names in @ObjectType.resolver()
  • Validate args names in @ObjectType.resolver()
  • Validate args names in @ObjectType.field()
  • Validate args out names in @ObjectType.resolver()
  • Validate args out names in @ObjectType.field()
  • Validate double descriptions on types
  • Validate double descriptions on fields
  • Validate double descriptions on arguments
@rafalp rafalp added next-api Support for both code and schema first approaches prio: high High priority labels Jul 20, 2023
@rafalp rafalp added this to the Next API milestone Jul 20, 2023
@rafalp
Copy link
Contributor Author

rafalp commented Nov 21, 2023

Done in #32

@rafalp rafalp closed this as completed Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-api Support for both code and schema first approaches prio: high High priority
Projects
None yet
Development

No branches or pull requests

1 participant