You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It won't allow you to use nested types for your models like ModelA.Response ModelB.Response
And you will get an error
Duplicate type registration for GraphQLType "Response" while trying to register type Response
Using String(describing: type) will provide "ModelA.Response" string, .components(separatedBy: ".").joined() can remove the dot if needed. Should I submit a PR to support this stuff?
The text was updated successfully, but these errors were encountered:
Is there any behaviour that relies on String(describing: type) in
It won't allow you to use nested types for your models like
ModelA.Response
ModelB.Response
And you will get an error
Using
String(describing: type)
will provide "ModelA.Response" string, .components(separatedBy: ".").joined() can remove the dot if needed. Should I submit a PR to support this stuff?The text was updated successfully, but these errors were encountered: