Default value of produceGeneralizedRdf should be false
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 106
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
The definition of the JsonLdOptions Type specifies that the default value for produceGeneralizedRdf is true. However, there are tests that fail if this is the case (e.g. the toRdf test case e068 has an expected output that excludes the statement with a blank node property), and I note that the test manifests explicitly set the option to true when it is required for the test. That, plus the fact that this option is deprecated leads me to suspect that the definition of the options type is perhaps incorrect and that the default value for this property should be false.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JsonLdOptions Type definition and compare its stated default for produceGeneralizedRdf with the toRdf test case e068 and the test manifests that explicitly set the option. Confirm the intended default against the failing expected output and update the specification and relevant tests so the default behavior is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100