Skip to content

Commit

Permalink
feat: recommended field notice MobilityData#885
Browse files Browse the repository at this point in the history
  • Loading branch information
KClough committed May 18, 2022
1 parent 90818c5 commit 440a6ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ private MethodSpec generateLoadMethod() {
gtfsTypeToParserMethod(field.type()),
fieldColumnIndex(field.name()),
RowParser.class,
field.required() ? "REQUIRED" : "OPTIONAL",
field.required() ? "REQUIRED" : (field.recommended() ? "RECOMMENDED" : "OPTIONAL") ,
field.numberBounds().isPresent()
? ", RowParser.NumberBounds." + field.numberBounds().get()
: field.type() == FieldTypeEnum.ENUM
Expand Down

0 comments on commit 440a6ae

Please sign in to comment.