outlandishideas / kasia

:tophat: A React Redux toolset for the WordPress API
MIT License
218 stars 15 forks source link

Use `node-wpapi` autodiscovery for custom content types #18

Open sdgluck opened 8 years ago

sdgluck commented 8 years ago

At the moment the user is required to define explicitly the custom content types that are defined within the WP instance they are connecting to. It would be great if they could be "auto-discovered" a la node-wpapi, probably through an option.

Implementing this would require deferring calls to the WP API until the autodiscovery completed, so keeping a record internally somewhere of its completion.

sdgluck commented 7 years ago

Thoughts for the implementer...

Changes to API:

Changes to internals:

sdgluck commented 7 years ago

In progress on branch autodiscovery-support.