Closed njlr closed 4 years ago
Is there a way to control the type name of the client?
Right now there isn't a way but I accept PRs regarding these things :smile:
Maybe we can add a overrideClientName
attribute of type string which will do just than or simply remove the project prefix from the GraphqlClient
type (i.e. adding a config removeProjectPrefix
of type bool
)
Added and published as of v1.4 :rocket:
Suppose I have a config like this:
Then my generated project will have a type like this:
The
namespace
is what I expected but the type name of the client is a bit cumbersome.Is there a way to control the type name of the client?
For example: