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
test('constructs with a property variable in a nested subject',async()=>{awaitapi.write<Subject>({'@id': 'fred',stats: {height: 5,age: 40}});awaitexpect(api.read<Construct>({'@construct': {'stats': {'?': 5}}})).resolves.toEqual([{"@id": "fred","stats": {'@id': expect.stringMatching(genIdRegex),height: 5}}]);});
Throws:
Error: Unhandled error. (Error: No index compatible with pattern {"subject":{"termType":"NamedNode","value":"http://test.m-ld.org/.well-known/genid/clg5fa9310002n2y11syg04xb"},"object":{"termType":"Literal","value":"5","language":"","datatype":{"termType":"NamedNode","value":"http://www.w3.org/2001/XMLSchema#integer"}},"graph":{"termType":"DefaultGraph","value":""}} and options {}
The text was updated successfully, but these errors were encountered:
Throws:
The text was updated successfully, but these errors were encountered: