Skip to content

Continuous work on the type provider #3

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

Closed
Horusiath opened this issue Apr 1, 2016 · 1 comment
Closed

Continuous work on the type provider #3

Horusiath opened this issue Apr 1, 2016 · 1 comment

Comments

@Horusiath
Copy link
Contributor

Current type provider is clearly proof of concept, it work only on queries, and only of flat fields structure.

Things to be done:

  • Explore the possibility to generate namespace with full type definitions, not only the queries (prerequisite: Allow parser to generate type definition from GraphQL type format #7). This would actually make more sense in our case.
  • Using type provider to generate statically typed queries and mutations would be useful too, but the problem is lack of type info for fields, which is not included in this case. This will require providing at least schema will all type definitions. Currently all fields are of type obj.
  • Add ability to generate anonymous/nested types.
  • Add ability to provide arguments and variables queries.
  • Since definitions can contain description field, it may be used to generate XML doc based on it.

If needed, this issue may be split into more detailed separate ones.

@Horusiath
Copy link
Contributor Author

For now Type Provider story is no more, as it didn't look as a feasible solution for the problem. Maybe it will be useful to return to that concept in the future. Closing this one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant