fix: quote dotted aliases and offer root foreach in inventory
This commit is contained in:
@@ -202,7 +202,9 @@ def context_path_options(
|
||||
reason = raw_reason if isinstance(raw_reason, str) else None
|
||||
|
||||
option: AuthoringPathOptionPayload = {
|
||||
"path": f"context.{name}",
|
||||
# Field names are literal path segments: dotted foreach aliases
|
||||
# must stay quoted as one segment, never split on ".".
|
||||
"path": str(GraphSourcePath("context", (name,))),
|
||||
"label": name.replace("_", " ").replace("-", " ").title(),
|
||||
"origin": "runtime_context",
|
||||
"schema": deepcopy(dict(schema)),
|
||||
|
||||
Reference in New Issue
Block a user