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
So I can stop passing the expandContext option, but I'd like to understand the implication of doing so. And also, why this option is not available in Python?
The text was updated successfully, but these errors were encountered:
Hi,
I was facing another normalization issue today and I have found that with javascript we use
jsonld.normalize
withexpandContext
https://github.com/digitalbazaar/jsonld.js/blob/main/lib/jsonld.js#L536, whilepyld
does not offer the same option https://github.com/digitalbazaar/pyld/blob/master/lib/pyld/jsonld.py#L247.We use pyld on the issuing side and jsonld.js on the verification side, so having different options for
normalize
yields a different result.Given this context:
With JS, I have this output:
While with PY, I have this one:
So I can stop passing the
expandContext
option, but I'd like to understand the implication of doing so. And also, why this option is not available in Python?The text was updated successfully, but these errors were encountered: