You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually, the idea is that client code wouldn't directly manipulate Fields, but they would be created from the CSV and Schema, and so the constraints would be declared in the Schema.
What specific use-case do you have that needs programmatic setting of constraints on Fields?
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)
The text was updated successfully, but these errors were encountered: