-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readonly keys #1400
base: main
Are you sure you want to change the base?
Readonly keys #1400
Conversation
::: tip | ||
The same applies for fields with the [OData Annotations](../advanced/odata#annotations) `@FieldControl.ReadOnly` (static), `@Core.Computed`, or `@Core.Immutable` (the latter only on UPDATEs). | ||
::: | ||
|
||
::: | ||
::: warning | ||
Read-only keys in all variants are not supported and the respective annotation is ignored. | ||
::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The information in the previous tip is similar, right? Should we remove the tip and just keep the warning stating that everything that is read-only will be ignored? A tip for annotations and a warning for keys directly following each other can make a wrong impression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @vkozyura @David-Kunz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading it again three months later, I think I misunderstood it. Here's my current understanding:
This sentence is meant to say "you can't annotate keys with @readonly." So, whereas all the rest of this section talks about the effect of readonly, this sentence has a different angle.
Is my current understanding correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vkozyura Is my current understanding (see my last comment) correct?
No description provided.