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

Update direction support. #534

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Update direction support. #534

merged 3 commits into from
Sep 7, 2023

Conversation

davidlehn
Copy link
Member

@davidlehn davidlehn commented Sep 1, 2023

  • Emit toRdf warning if @direction is used and rdfDirection is not set.
  • Add safe mode support for @direction. Using @direction without rdfDirection set will cause a safe mode failure.
  • Add tests.

@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2023

Codecov Report

Merging #534 (0ca4360) into main (7ba788e) will decrease coverage by 0.03%.
The diff coverage is 91.30%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
- Coverage   93.66%   93.63%   -0.03%     
==========================================
  Files          24       24              
  Lines        2968     2986      +18     
==========================================
+ Hits         2780     2796      +16     
- Misses        188      190       +2     
Files Changed Coverage Δ
lib/events.js 79.06% <ø> (ø)
lib/jsonld.js 84.27% <ø> (ø)
lib/fromRdf.js 98.50% <87.50%> (-0.72%) ⬇️
lib/toRdf.js 99.24% <93.33%> (-0.76%) ⬇️

- Emit `toRdf` warning if `@direction` is used and `rdfDirection` is not
  set.
- Add safe mode support for `@direction`. Using `@direction` without
  `rdfDirection` set will cause a safe mode failure.
- Add tests.
@davidlehn davidlehn merged commit 8f9f888 into main Sep 7, 2023
9 checks passed
@davidlehn davidlehn deleted the update-direction-support branch September 7, 2023 00:46
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.

3 participants