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
I'm pretty sure this is due to the fact that the codegen is attempting to create a module using type names that are auto-generated by neo4j-graphql-js, some of which begin w/ an underscore.
For example:
type _AddArtifactAttractorPayload {
from: Attractor
to: Artifact
}
Of course, direct conversion of these type names into module names doesn't play nicely w/ Ocaml's module naming conventions.
Would it be possible to allow users of this lib to specify a prefix regex to strip from module names, or some kind of transform function through which to run type names when converting them to modules?
The text was updated successfully, but these errors were encountered:
Just tried to bypass this via direct removal of the leading underscores in the generated introspection query, just to see if I could make some progress, then ran into:
When I attempt to run the codegen, I get:
I'm pretty sure this is due to the fact that the codegen is attempting to create a module using type names that are auto-generated by
neo4j-graphql-js
, some of which begin w/ an underscore.For example:
Of course, direct conversion of these type names into module names doesn't play nicely w/ Ocaml's module naming conventions.
Would it be possible to allow users of this lib to specify a prefix regex to strip from module names, or some kind of transform function through which to run type names when converting them to modules?
The text was updated successfully, but these errors were encountered: