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
{{ message }}
Repository navigation
linkml_model/graphql/meta.graphql shipped in the linkml-runtime wheel does not parse #67
packages/linkml_runtime/src/linkml_runtime/linkml_model/graphql/meta.graphql is shipped inside the linkml-runtime wheel and does not parse:
fromgraphqlimportparseimportpathlibparse(pathlib.Path("packages/linkml_runtime/src/linkml_runtime/linkml_model/graphql/meta.graphql").read_text())
# graphql.error.syntax_error.GraphQLSyntaxError: Syntax Error: Unexpected Name 'Extensible'.
The cause is the comma-separated implements clause that #63 fixes in the generator: ImplementsInterfaces joins with & (GraphQL spec, October 2021, §3.6). Regenerating the file with the fixed generator would make it parse, though the remaining gaps in #64 and #66 would still apply to it.
Two other committed artifacts are in the same state:
examples/PersonSchema/personinfo/graphql/personinfo.graphql — Syntax Error: Unexpected Name 'HasNewsEvents'. Also stale for unrelated reasons (metamodel 1.7.0).
examples/organization.graphql — orphaned; examples/organization.yaml no longer exists.
No test or CI job consumes any of them (.github/, Makefile, pyproject.toml checked; Makefile is the only generator reference), so nothing is currently broken by it. #63 deliberately left all three alone to keep its diff to the generator and its tests.
The question for meta.graphql specifically is where it should be regenerated: it looks vendored from linkml/linkml-model rather than produced by this repository's build, in which case the fix belongs there and this repository only re-vendors.
Activity