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
In 08b7950, we introduced the rdf:JSON param range, which allows users to pass arbitrary JSON values.
While useful for many cases, this strips away any kind of type-checking,
which may result in cases where an unexpected JSON shape is received.
Example where myParam expects a Record<string, string>:
AFAICS, JSON-LD currently doesn't support such functionality.
JSON-LD's property-based data indexing already gets us partially there (defining the key's as index range), but the keys would not allow direct values in that case.
The text was updated successfully, but these errors were encountered:
Issue type:
Description:
In 08b7950, we introduced the
rdf:JSON
param range, which allows users to pass arbitrary JSON values.While useful for many cases, this strips away any kind of type-checking,
which may result in cases where an unexpected JSON shape is received.
Example where
myParam
expects aRecord<string, string>
:So this would have to be converted into:
AFAICS, JSON-LD currently doesn't support such functionality.
JSON-LD's property-based data indexing already gets us partially there (defining the key's as index range), but the keys would not allow direct values in that case.
The text was updated successfully, but these errors were encountered: