Closed ericprud closed 11 months ago
Thanks for reporting!
Thanks for letting us know @ericprud!
The only place we're using ShEx is here: https://github.com/comunica/comunica-feature-link-traversal/blob/master/packages/actor-rdf-metadata-extract-shapetrees/lib/ActorRdfMetadataExtractShapetrees.ts#L201-L214 So it looks like we'll need to make a small change indeed.
(just moving this issue to the repo where this code exists)
public async dereferenceShape(shapeIri: string, context: IActionContext): Promise<ShEx.ShapeDecl>
Issue type:
Description:
(More of a potential bug, but templates don't invite creativity)
There's a non-backard-compatible change in the upcoming ShExJ 1.2, and corresponding
@types/shexj
. All top-level shapes require a ShapeDecl (it was optional in the EXTENDS branch but that led to a proliferation of bugs.)Old structure:
New structure:
.id
is no longer allowed in top-level shapeExprs (or any shapeExprs). Ping me if y'all want extra eyes while fielding this change.Environment:
Crash log: