VulcanJS / Vulcan

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

Bugfix/add field #2734

Open eric-burel opened 2 years ago

eric-burel commented 2 years ago

@EloyID it should make "addField" more consistent with "extendCollection" and avoid the weird issue when we use both. Under the hood, "addField" is just "extendCollection(collection, {schema})" so from now on you might want to use extendCollection only (try to call it only once per package to avoid extra computation on app startup + split between client and server when you have resolveAs, si computedPermissions for example in the platform)