Closed aaj3f closed 7 months ago
@aaj3f What's the expected / desired behavior here? Just an understandable error response and no hanging?
@aaj3f Oh, also, did you try this without the trailing slash in the @context
value (i.e. "https://ns.flur.ee"
)? It requires that there not be one.
@cap10morgan oh, yes, sorry.... I actually don't know how it ended up in the example above, but it wasn't in the request I sent
I think if a ?var
is used in insert
that isn't already defined in where
(or if there is no where
) then we should throw some parse error for using a ?var
not defined in the where
clause -- I think we already do this in queries, for example
New fix PR: https://github.com/fluree/db/pull/692
Description
Using a
?var
in an index that isn't declared in yourwhere
clause causes an uncaught exception and a hanging, non-response from the HTTP APIFor example,
Produces this in the logs for
server