Skip to content

Commit

Permalink
Allow ParameterSet as a tag (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Dec 9, 2024
1 parent 37df880 commit b8e50c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/robotbuilder/utils/YamlUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class YamlUtils {
tag.getClassName().equals(TeamNumberProperty.class.getName()) ||
tag.getClassName().equals(ParameterDescriptor.class.getName()) ||
tag.getClassName().equals(ValuedParameterDescriptor.class.getName()) ||
tag.getClassName().equals(ParameterSet.class.getName()) ||

tag.getClassName().equals(DistinctValidator.class.getName()) ||
tag.getClassName().equals(ExistsValidator.class.getName()) ||
Expand Down Expand Up @@ -76,6 +77,7 @@ public class YamlUtils {
constructor.addTypeDescription(new TypeDescription(TeamNumberProperty.class, "!TeamNumberProperty"));
constructor.addTypeDescription(new TypeDescription(ParameterDescriptor.class, "!ParameterDescriptor"));
constructor.addTypeDescription(new TypeDescription(ValuedParameterDescriptor.class, "!ValuedParameterDescriptor"));
//constructor.addTypeDescription(new TypeDescription(ParameterSet.class, "!ParameterSet"));

constructor.addTypeDescription(new TypeDescription(DistinctValidator.class, "!DistinctValidator"));
constructor.addTypeDescription(new TypeDescription(ExistsValidator.class, "!ExistsValidator"));
Expand Down

0 comments on commit b8e50c2

Please sign in to comment.