Skip to content

Roadmap to 2.0 #163

@brettjurgens

Description

@brettjurgens
  • Improve Documentation across the project (it can definitely be cryptic at times)
  • Create more sensible names for the formatters (also probably rename "formatter" to "printer")
  • First-class Flow support
  • Extract a lot of the logic to the printers, in order to handle inconsistencies across language targets (i.e. Language X doesn't have interfaces, Language Y doesn't have Partial, etc.)
  • Figure out better way of handling Fragments as seen in fix fragment spread inside of inline fragment #162
  • Custom directive support
  • Correct type for defer directive
  • Remove Legacy TS Support (force strict nullability) Remove legacy ts support #174
  • Add more tests now that more public schemas are available (github, yelp, etc.)
  • Create better interfaces to pass to Printers
  • Create webpack loader Autogenerate a JS file to make imports easier #127
  • Allow providing custom types apart from the typemap
    • i.e. query.customer.something resolves to type any but should be { a: number; b: string }
    • another use case would be if we have a union/interface and know that it will only be one type
      • i.e. query.me is of type Admin | Customer | Service but we know that it can only ever be Admin on the admin application, Customer on the customer, etc.
  • Investigate better enum support with const enums Enums break .d.ts typings #179
  • Fix Unions in 2.0.0
  • Fix Introspection in 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions