Skip to content

Non-required fields If the GET and SET methods return empty data, a "tag reject" message will be displayed. #803

Backlog

Description

@fengxiaozi-liu

if fields.Has(fixenum.Text) {
value, fieldErr := fields.GetString(fixenum.Text)
if fieldErr != nil {
return input, fieldErr
}
input.Remark = &value
}
text is Non-required fields

description: If the GET and SET methods return empty data, a "tag reject" message will be displayed. You must use the has keyword to check if something is empty.
error message: code = Unknown desc = Tag specified without a value
This error does not exist in version v0.7.0.

Activity

  1. changed the title [-]If the GET and SET methods return empty data, a "tag reject" message will be displayed.[/-] [+]Non-required fields If the GET and SET methods return empty data, a "tag reject" message will be displayed.[/+] on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions