farmOS / farmOS.js

A JavaScript library for working with farmOS data structures and interacting with farmOS servers.
MIT License
15 stars 13 forks source link

Remove "field_farm_" prefixes from field names. #2

Closed mstenta closed 5 years ago

mstenta commented 5 years ago

In the upcoming release of farmOS 1.0, we'll be hiding the "fieldfarm" field prefixes in REST JSON requests/responses. This pull request updates the farmOS.js library to remove those prefixes.

Note that this will not work on farmOS sites that are pre-1.0, so we might want to hold off on merging it until the 1.0 release of farmOS is officially packaged.

jgaehring commented 5 years ago

Thanks, @mstenta !