[ https://issues.apache.org/jira/browse/CAUSEWAY-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber resolved CAUSEWAY-3741. ---------------------------------- Resolution: Resolved resolved Perhaps my preferred approach would have been to enhance the AsciiIdentifierService, in support of sanitizing namespaces. But then I'm also lazy and don't want to do the work. So happy with the current solution as well. > Graphql Viewer to support Namespaces with a Hyphen > -------------------------------------------------- > > Key: CAUSEWAY-3741 > URL: https://issues.apache.org/jira/browse/CAUSEWAY-3741 > Project: Causeway > Issue Type: Improvement > Components: Viewer GraphQL > Affects Versions: 2.0.0, 3.0.0 > Reporter: Brian Kalbfus > Assignee: Andi Huber > Priority: Major > Fix For: 2.1.0, 3.1.0 > > > When opening the graphql viewer, error is reported: > {quote}{{Caused by: graphql.AssertException: Name must be non-null, non-empty > and match [_A-Za-z][_0-9A-Za-z]* - was > 'uoct-reconcile_ActionCodeOffenseCitation' > at graphql.Assert.assertValidName(Assert.java:117) > at > graphql.schema.GraphQLEnumValueDefinition.<init>(GraphQLEnumValueDefinition.java:44) > at > graphql.schema.GraphQLEnumValueDefinition$Builder.build(GraphQLEnumValueDefinition.java:270) > at > org.apache.causeway.viewer.graphql.model.context.Context.lambda$doComputeLogicalTypeNames$4(Context.java:126) > }} > {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)