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
Its a super-simple fix to make this work: in src/utils/hitConverter.js: change the opts given to flatten on line 34 to {safe: false}.
The fix is so simple that it made me wonder if this was on purpose (that there's a good reason not to try to support arrays at all) and being new to koop and esri featureserver i'm missing something?
The text was updated successfully, but these errors were encountered:
steveliles
added a commit
to steveliles/koop-provider-elasticsearch
that referenced
this issue
Jun 14, 2021
A property in elasticsearch can be a single value or an array. When the value is an array this provider currently serializes it as
but could instead flatten the array to e.g.
or for arrays of objects with nested properties:
Its a super-simple fix to make this work: in
src/utils/hitConverter.js
: change the opts given toflatten
on line 34 to{safe: false}
.The fix is so simple that it made me wonder if this was on purpose (that there's a good reason not to try to support arrays at all) and being new to koop and esri featureserver i'm missing something?
The text was updated successfully, but these errors were encountered: