- features
- major content schema change. Node and types are now part of meta
Example:
var obj = {
meta: {
type: '524362aa56c02c0703000001',
node : '526d5179966a883540000006',
labelfield: 'testfield'
},
fields: {
label: 'Generated title',
testfield: 'testtest'
}
};
NOTE: This is not backwards compatible with v0.2.x of grasshopper core.
Migration instructions (content collection):
- move type into the meta collection
- move node into the meta collection and change from
node : {_id: '526d5179966a883540000006', displayOrder: 1}
to justnode: '<id>'
- add labelfield to meta collection which should be the first field defined in the content type