strawberry
strawberry copied to clipboard
Generic classes in scaler overrides
Describe the Bug
if you register a generic class with different generic parameter as scaler override strawberry will allow registering only one.
sample code can be found here: https://play.strawberry.rocks/?gist=061b5d7c79310d6ac8c23b3b35c93cff
TypeError: PropertyType fields cannot be resolved. Scalar `Link` has already been registered
System Information
- Operating system: Manjaro Linux
- Strawberry version (if applicable): 0.113.0
Additional Context
N/A
this happens because the graphql name is the same for the two scalar types. see https://discord.com/channels/689806334337482765/995751112554594485/996083557925650563