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

Add Field<TResolver> to the generic IObjectTypeDescriptor #389

Conversation

jbray1982
Copy link
Contributor

Moved the Field declaration function that can be parameterized with a… ResolverType to the untyped version of IObjectTypeDescriptor. There is nothing in that function that referes to T, therefore it can be safely used outside of the typed ObjectTypeDescriptor class. This way, a user can have an untyped ObjectType and refer to other resolver classes in their field declarations.

… ResolverType to the untyped version of IObjectTypeDescriptor. There is nothing in that function that referes to T, therefore it can be safely used outside of the typed ObjectTypeDescriptor class. This way, a user can have an untyped ObjectType and refer to other resolver classes in their field declarations.
@michaelstaib
Copy link
Member

#390

@michaelstaib michaelstaib self-requested a review December 6, 2018 09:08
@michaelstaib michaelstaib added the 🎨 refactoring This issue is about doing refactoring work, like cleaning up the code making existing code better. label Dec 6, 2018
@michaelstaib michaelstaib merged commit 811829a into ChilliCream:master Dec 6, 2018
@michaelstaib
Copy link
Member

@jbray1982 thanks for your contribution.

@jbray1982 jbray1982 deleted the jbray1982/move-field-description-function branch December 7, 2018 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 refactoring This issue is about doing refactoring work, like cleaning up the code making existing code better.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants