-
-
Notifications
You must be signed in to change notification settings - Fork 916
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 InputType and OutputType attributes #2879
Conversation
Will review tomorrow. |
676c682
to
b2ed8f7
Compare
@@ -409,6 +417,12 @@ namespace GraphQL | |||
public static T ToObject<T>(this System.Collections.Generic.IDictionary<string, object?> source) | |||
where T : class { } | |||
} | |||
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.All)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| System.AttributeTargets.All
Strange. The same with other attributes. I can not reproduce this output on my Windows machine.
Codecov Report
@@ Coverage Diff @@
## master #2879 +/- ##
==========================================
- Coverage 83.78% 83.77% -0.02%
==========================================
Files 364 366 +2
Lines 14979 15017 +38
Branches 2369 2377 +8
==========================================
+ Hits 12550 12580 +30
- Misses 1798 1802 +4
- Partials 631 635 +4
Continue to review full report at Codecov.
|
Separates
InputType
andOutputType
which are used for type mappings from theGraphQLMetadata
attribute which is used for configuring an automatically-constructed graph type.The old properties remain as obsolete members.