Skip to content

fix: fields add for user and file relationship types#6

Merged
morgang5522 merged 1 commit into
mainfrom
fix/fields-system-relations
May 12, 2026
Merged

fix: fields add for user and file relationship types#6
morgang5522 merged 1 commit into
mainfrom
fix/fields-system-relations

Conversation

@chrisaddams
Copy link
Copy Markdown
Contributor

Summary

  • System relationship types (user, file) no longer attempt client-side entity resolution, which 404s because those system entities aren't exposed at /entities/{name}
  • Only on_deletion is passed for system relations — the backend resolves the target entity itself
  • GetClient() call moved inside the non-system branch so it's only invoked when actually needed

System relationship types (user, file) don't need client-side entity
resolution — the backend resolves the target. Only pass on_deletion.
@morgang5522 morgang5522 merged commit ae9099a into main May 12, 2026
@morgang5522 morgang5522 deleted the fix/fields-system-relations branch May 12, 2026 18:44
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.

2 participants