Closed cjslep closed 5 years ago
809fd1f0414affef24779128dbaedf2ddec339e9 adds failing unit tests for this use case.
07df3adee59677ec361730794499c9b2f4f0de2c is on the way to fixing this bug, long-term, correctly.
Introduces a breaking syntax change:
ActivityStreamsId
is now JSONLDId
ActivityStreamsType
is now JSONLDType
Commit message has some relevant details.
The fix is mostly verified in 84ee3614781ac73ebdf1be5a2991fd2eac1e29e0, however there is a map-stability issue that needs to be fixed for the tests to reflect that.
Testing now sorts @context
, eliminating flakiness for the test covering this bug, in 9acafe5f975875d6257a7aac5ee0322c7609aaeb
Things are aggressively deserializing into PublicKey, due to it's type-less nature not being explicit in the JSON-LD (wtf).
Fixing it would be straightforward, but
id
right now is tied to ActivityStreams when it should be... time to pay off tech debt and make it stand alone (but will probably be a breaking change).