This PR removes a workaround (implemented 5 or 6 months ago) that helped get koop working on ArcGIS clients. The workaround added an OBJECTID field to payloads even if a provider had set idField in the provider metadata. The result was two properties with the same value. This is not ideal, for reasons noted in koopjs/FeatureServer#127.
The original bug was in Winnow, and there is a PR in place that fixes the bug. This PR removes the workarounds required in FeatureServer. It also refactors a great deal of the unit tests that leverage Joi schema tests.
This PR removes a workaround (implemented 5 or 6 months ago) that helped get koop working on ArcGIS clients. The workaround added an
OBJECTID
field to payloads even if a provider had setidField
in the provider metadata. The result was two properties with the same value. This is not ideal, for reasons noted in koopjs/FeatureServer#127.The original bug was in Winnow, and there is a PR in place that fixes the bug. This PR removes the workarounds required in FeatureServer. It also refactors a great deal of the unit tests that leverage Joi schema tests.