Apollo-tooling: Short interface names

Created on 2 Jul 2018  路  4Comments  路  Source: apollographql/apollo-tooling


If we generate the typescript files, escpecially from nested queries, we get very long interfaces names. Sometimes longer than 70 chars, so its inconvenient to work with these interfaces.
An option in codegen:generate would be very cool, to left out the name prefix.

feature

Most helpful comment

Having a namespace for each query would be a nice option.

All 4 comments

This is definitely a pain we experience as well. A namespace per query may make this easier.

Having a namespace for each query would be a nice option.

@jbaxleyiii ?

Any updates on this?

Was this page helpful?
0 / 5 - 0 ratings