Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #257 Frame aliasing @graph with omitGraph=true #288

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

lolgab
Copy link
Contributor

@lolgab lolgab commented Nov 17, 2023

Fixes #257

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this result, please check that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you disable Compact Arrays in JSON-LD Playground you also get a "data" array.
I assumed that Compact Arrays is the equivalent to our omitGraph.
I can add a test case with omitGraph = true if you want

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, good job!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! ❤️

@filip26 filip26 merged commit 130879d into filip26:main Nov 18, 2023
5 checks passed
@lolgab lolgab deleted the fix-issue-257 branch November 18, 2023 17:55
@filip26
Copy link
Owner

filip26 commented Nov 18, 2023

It's about time to release a new version. The fix will be available in maven-central soon.

hmottestad added a commit to HASMAC-AS/hasmac-json-ld that referenced this pull request Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frame aliasing @graph broken when omitGraph = false
2 participants