Document minimal Low-Code formula definitions - #26088
Open
salihozkara wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the ABP Low-Code documentation to reflect a “minimal” model contract for formulas/rollups and primitive collections, focusing on what authors must (and must not) persist in model JSON.
Changes:
- Adds a new “Model definition” section describing minimal formula/rollup persisted fields and how dependencies are derived at load/refresh time.
- Updates
model-json.mdto describe primitive collection settings as minimal (removing mention of a generatedstorageKey).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/en/low-code/model-json.md | Updates the property field table and the primitive collection note to reflect the minimal collection contract. |
| docs/en/low-code/formula-properties.md | Documents minimal persisted formula/rollup definitions and clarifies that dependency data is derived rather than authored. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| | `decimalPlaces` | Decimal scale for `decimal` and `money` properties | | ||
| | `currencySymbol` | Optional UI currency symbol for `money` properties | | ||
| | `collection` | Primitive collection settings: `maxCount`, required `uniqueItems`, and stable `storageKey` | | ||
| | `collection` | Primitive collection settings: optional `maxCount` and `uniqueItems` | |
|
|
||
| ## Model definition | ||
|
|
||
| A formula definition stores only the expression and its result type. Dev JSON does not require generated identifiers, definition hashes, or a dependency list: |
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.
Summary