docs: document the user field type#2352
Merged
Merged
Conversation
Follow-up to #2351 (the `user` field type). Brings the docs in line with the shipped feature: - references/data/field.mdx + seed-loader.mdx — regenerated (`gen:docs`) so the FieldType / reference enums list `user` (the merge added the type but didn't regenerate these committed reference pages). - guides/data-modeling.mdx — new "User Fields" section: `Field.user()`, `multiple`, `defaultValue: 'current_user'`, and that it's a lookup specialized to sys_user (stored as an FK, zero-migration from `Field.lookup('sys_user')`). - guides/standards.mdx — adds a User/Person row to the field-type selection table. Only the user-related regenerated lines are included; unrelated generated-doc drift was intentionally left out. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #2351 (the
userfield type) — brings docs in line with the shipped feature.Changes
references/data/field.mdx+seed-loader.mdx— regenerated viagen:docsso the FieldType / reference enums listuser. (feat: add a first-classuserfield type (person picker) #2351 added the enum value butgen:docsisn't a CI gate, so these committed reference pages were left stale.)guides/data-modeling.mdx— new User Fields section:Field.user(),multiple,defaultValue: 'current_user', lookup specialized tosys_user(FK storage; zero-migration fromField.lookup('sys_user')).guides/standards.mdx— adds a User / Person row to the field-type table.Only user-related regenerated lines included; unrelated generated-doc drift left out. Docs-only.
🤖 Generated with Claude Code