danielgtaylor / danielgtaylor/huma
tag readOnly:"true" does not seem to work on object types
Open
question
- Dominant language
- Go
- Stars
- 4.4k
- Forks
- 285
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
I have defined 2 structs, named Notice, and User. The Notice struct has a field of type User with `json:"user" readOnly:"true"` but it ends up in the Body for a post request anyway. Primitive fields, like string and int and such, with `readOnly:"true"` seem to exhibit the expected behaviour.


Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.