Open xift810 opened 1 month ago
Maybe "Exec/ExecRaw" can do this?
Yes, Go tags can not be modified in runtime. If you want to build dynamic query strings Exec
is the only option.
Btw, you can use the ContructQuery
and ContructMutation
functions to build the query string, then use strings.Replace
to replace the query name and run with Exec
.
we can use graphql tag to change type name But if we have different environment and different type name (product_xxxx), but graphql tag cannot using varaible and dynamic change . What can I do now? thx