We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have use cases to implement using a stricter typed system.
That is, in my domain, I implement custom types to extends ObjectType.
extends ObjectType
However, that is impossible if we use this library, because it configs the object type using the helper functions:
Relay::connectionType(...): ObjectType
Relay::edgeType(...): ObjectType
We can make it more flexible by introducing more granular Relay compliant types
Relay::connectionType(...): ConnectionType
Relay::edgeType(...): EdgeType
This also make the components more flexible (open-closed principle?!)
class MyCustomType extends ConnectionType { }
What do you think?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivation
I have use cases to implement using a stricter typed system.
That is, in my domain, I implement custom types to
extends ObjectType
.Before
However, that is impossible if we use this library, because it configs the object type using the helper functions:
Relay::connectionType(...): ObjectType
Relay::edgeType(...): ObjectType
After
We can make it more flexible by introducing more granular Relay compliant types
Relay::connectionType(...): ConnectionType
Relay::edgeType(...): EdgeType
This also make the components more flexible (open-closed principle?!)
What do you think?
The text was updated successfully, but these errors were encountered: