feat(postgres): Add Bytes to Support (#3894)
* Add bytes to schema * postgres support * test cases * bytes work parse object
This commit is contained in:
committed by
Florent Vilmart
parent
e8be98ded2
commit
4b16a72992
@@ -523,6 +523,7 @@ describe('SchemaController', () => {
|
||||
aFile: {type: 'File'},
|
||||
aPointer: {type: 'Pointer', targetClass: 'ThisClassDoesNotExistYet'},
|
||||
aRelation: {type: 'Relation', targetClass: 'NewClass'},
|
||||
aBytes: {type: 'Bytes'},
|
||||
}))
|
||||
.then(actualSchema => {
|
||||
const expectedSchema = {
|
||||
@@ -542,6 +543,7 @@ describe('SchemaController', () => {
|
||||
aFile: { type: 'File' },
|
||||
aPointer: { type: 'Pointer', targetClass: 'ThisClassDoesNotExistYet' },
|
||||
aRelation: { type: 'Relation', targetClass: 'NewClass' },
|
||||
aBytes: {type: 'Bytes'},
|
||||
},
|
||||
classLevelPermissions: {
|
||||
find: { '*': true },
|
||||
|
||||
Reference in New Issue
Block a user