Skip to content

Support Object Types #22

Closed
Closed
@rafalp

Description

@rafalp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-apiSupport for both code and schema first approachesprio: highHigh priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions