In case 'id:Int!@id' 1. Something: [String!] @sc...
# orm-help
j
In case 'id:Int!@id' 1. Something: [String!] @scalarList(strategy: RELATION) 2. Mutation{ ...(... something{set["a","b"]} } Always return NULL...... If 'id:ID!@id', it will operate normally. I think it's a bug. What's wrong with you?
h
You will need to provide
@sequence
directive if you use Int in ID
j
@Harshit I changed it. id: Int! @id(strategy: SEQUENCE) @sequence(name: "PostSequence", initialValue: 1, allocationSize: 10000) But corrected as you said, but still returns NULL.
I don't know why. Why is this?
h
Are you using mongo connector?
j
No, I'm using MYSQL and the server is a demo.