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
Read-only properties #2782
Labels
Comments
Since a model property is essentially a TypeScript class property, can you try defining it with @model
class User {
@property({
type: 'string',
id: true,
})
readonly id: string;
} |
Can somebody help me? |
AFAIK, LoopBack 4 does not support readonly properties yet. |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the property readOnly in loopback 4? I've been looking for a while but I have not found anything about it
The text was updated successfully, but these errors were encountered: