We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
internal/apiform
1 parent fd145c4 commit 840ee94Copy full SHA for 840ee94
internal/apiform/tag.go
@@ -18,6 +18,10 @@ type parsedStructTag struct {
18
// otherwise this flag will have no effect
19
// NOTE: won't work if update behavior is 'patch'
20
forceEncode bool
21
+ // Don't skip this value, even if it's computed (no-op for computed optional fields)
22
+ // If encodeStateForUnknown is set on a computed field, this flag should also be set;
23
+ // otherwise this flag will have no effect
24
+ // NOTE: won't work if update behavior is 'patch'
25
}
26
27
func parseFormStructTag(field reflect.StructField) (tag parsedStructTag, ok bool) {
0 commit comments