mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
![]() Instead of using `schema` passed when creating the collection, `getParameters` should fetch the schema from `collection.simpleSchema()._schema` to include the fields added with `collection.addField`. I originally found this when making the `groups` field searchable, with: ``` Users.addField([ { fieldName: 'groups', fieldSchema: { type: Array, searchable: true, }, }, { fieldName: 'groups.$', fieldSchema: { type: String, }, }, ]); ``` |
||
---|---|---|
.. | ||
lib | ||
package.js | ||
README.md |
Vulcan libraries package, used internally.