On my project GraphQL schema the object AllowedPeriod (it's just two fields startsAt/endsAt) can arrive inside different objects of the graph.
When generating queries, apollo is creating a new type for every <parent_object>.AllowedPeriod
For example, in the GetDevicesQuery, the AllowedPeriod can be inside devices, actions or group, hence generating the following classes.
GetDevicesQuery.AllowedPeriodGetDevicesQuery.AllowedPeriod1GetDevicesQuery.AllowedPeriod2
Is there a way to tell apollo that those are the same types and that it should not generate types for every one of them?