Tags: OSLC/oslc4net
Tags
build: fix codegen Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Update CHANGELOG with breaking changes and deprecations
fix: serialize ResponseInfo containers with a non-default port and wr… …apped members (#805) * server: provider: last ResponseInfo container page serialization (#804) fix: serialize ResponseInfo containers without a next page or members OslcRdfOutputFormatter coerced a missing ResponseInfo next page to an empty string and passed it to CreateDotNetRdfGraph, which then called new Uri(""), throwing for every non-paged OSLC query response. Keep a missing next page as null so no oslc:nextPage triple is emitted. CreateDotNetRdfGraph also threw when building a ResponseInfo container for a query that matched no members: EnsureNamespacePrefix relied on INamespaceMapper.GetPrefix as a presence check, but it throws RdfException for an unmapped URI, so the oslc prefix was never registered for an empty result. Detect an already-mapped namespace without the throwing call. Adds regression tests covering empty, null and present next page as well as the empty-member container. Signed-off-by: Andrew Berezovskyi <andrew@berezovskyi.me> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> * Potential fix for pull request finding 'Missing Dispose call on local IDisposable' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Signed-off-by: Andrew Berezovskyi <andrew@berezovskyi.me> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
PreviousNext