Closed peterstace closed 9 months ago
Another nice thing about having separate "unvalidated" constructors is that those function signatures don't need an error in the return.
See https://github.com/peterstace/simplefeatures/discussions/525 for discussion about this.
Right now, there are only 2 constructor options:
The construction options are provided via the functional options pattern via the geometry constructors.
Omit invalid was only really added to "prove" that there was more than one option and therefore the functional options pattern was warranted.
We should consider to:
NewPoint
andNewPointWithoutValidation
.