VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.88k forks source link

Improve registerSetting #2636

Open SachaG opened 4 years ago

SachaG commented 4 years ago

The idea behind registerSetting() is to let a package or bit of code define the settings it'll rely on, optionally providing default values and descriptions.

This would be better to do in a package.yaml file at the root of the package that centralizes all info about the package; or even maybe in the existing package.js.

eric-burel commented 4 years ago

You might want to check this: https://github.com/VulcanJS/vulcan-next/issues/9 More broadly it would be awesome to have a standard for Vulcan packages, settings one of the field.