Skip to content

test: '@'-prefixed member names, rejected as terms and opaque inside a value - #71

Merged
kzangeli merged 1 commit into
mainfrom
test/at-prefixed-member-names
Sep 11, 2026
Merged

test: '@'-prefixed member names, rejected as terms and opaque inside a value#71
kzangeli merged 1 commit into
mainfrom
test/at-prefixed-member-names

Conversation

@kzangeli

Copy link
Copy Markdown
Collaborator

Functest for #70. Depends on SEAMWARE/corJsonld#5 and SEAMWARE/corNgsild#17 — CI clones main of each sibling, so this stays red until both are merged.

Covers both halves of the rule:

  • As an Attribute name and as a sub-attribute of a Relationship, @referredType / @weird are 400 BadRequestData, and the entity is not created.
  • Inside a value they mean nothing and must round-trip untouched: @none in a languageMap, @-keys inside a JsonProperty's json, a {"@type":"@json","@value":…} literal, and an @-key in a plain Property value object.

The second half is the one that constrains a future fix. The rule is about name positions; a broker that applied it to value positions would break LanguageProperty.

Run twice back to back, and against the unfixed broker to confirm it fails there.

Closes #70

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mo7DQD14mrErQD4N2v99d2

…a value

Covers both halves of the rule. As an Attribute name and as a sub-attribute of
a Relationship, "@referredType" and "@weird" are 400 BadRequestData and the
entity is not created. Inside a value they mean nothing and must round-trip
untouched: "@none" in a languageMap, '@'-keys inside a JsonProperty's json, a
{"@type":"@JSON","@value":...} literal, and an '@'-key in a plain Property
value object.

The second half is the one that constrains a future fix: the rule is about
name positions, and a broker that applied it to value positions would break
LanguageProperty.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mo7DQD14mrErQD4N2v99d2
@kzangeli
kzangeli merged commit 0b799f3 into main Sep 11, 2026
10 of 15 checks passed
@kzangeli
kzangeli deleted the test/at-prefixed-member-names branch September 11, 2026 13:33
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.

@referredType sub-attribute is corrupted on read-back: invalid type member and an extra nesting level around value

1 participant