Skip to content

Optionally typed API #636

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

Open
micimize opened this issue May 13, 2020 · 2 comments
Open

Optionally typed API #636

micimize opened this issue May 13, 2020 · 2 comments
Labels
🍻 discussion enhancement New feature or request

Comments

@micimize
Copy link
Collaborator

When dart-lang/language#283 lands we will be able to allow optional type parameters

@micimize
Copy link
Collaborator Author

micimize commented Oct 7, 2020

related to #583

@micimize
Copy link
Collaborator Author

micimize commented Nov 7, 2020

Aside from language support for optional types, the biggest challenge here is that it introduces a serializer concern to the core library, which then requires some middleware for every unique code generator.

If we can pull it off, I think the most elegant solution would either be a gql link that handles serialization, or adding optional types to the entire gql link system and using its preexisting serialization and parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍻 discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant