-
Notifications
You must be signed in to change notification settings - Fork 179
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 interfaces #112
Add interfaces #112
Conversation
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
======================================
Coverage 100% 100%
======================================
Files 41 43 +2
Lines 1360 1501 +141
======================================
+ Hits 1360 1501 +141
Continue to review full report at Codecov.
|
@salwator I've made another pass over the docs. Could you give it a look and let me know what you think about it now? |
Co-Authored-By: rafalp <kontakt@rpiton.com>
This PR adds
Interface
type to Ariadne. Interface acts like the union, except it enforces intersection between implementing types. It also allows (optional) resolvers reuse between implementing types.Currently, this is a proof-of-concept implementation.TODO
type_resolver
like union does)