Overview
(@iSnow @JohannesJander ) I'm wondering why there is a getter but no setter for Constraints in the Field abstract class:
|
public Map<String, Object> getConstraints(){ |
Is there another way that we should be setting field-level constraints when creating a schema in Java code?
If this is an oversight, I'd be happy to create a PR to add the setter.
Please preserve this line to notify @iSnow (lead of this repository)
Overview
(@iSnow @JohannesJander ) I'm wondering why there is a getter but no setter for Constraints in the Field abstract class:
tableschema-java/src/main/java/io/frictionlessdata/tableschema/field/Field.java
Line 558 in 25f931c
Is there another way that we should be setting field-level constraints when creating a schema in Java code?
If this is an oversight, I'd be happy to create a PR to add the setter.
Please preserve this line to notify @iSnow (lead of this repository)