mihaa1
mihaa1
In tsconfig.json Changed: "module": "es6" ---> "module": "commonjs"
Was there any progress with this?
> Hi @mihaa1 > > Sure, you can user Field.Json or Field.Object if your db doesn't support json well https://remult.dev/docs/field-types.html#json-field This is what I'm doing: ``` interface Settings { shiftLengthHrs:...
> Hi @balan05 & @Vincent1016 - sorry for not replying earlier > > In the current version of remult, you can do that with a 'through' table > > ```ts...
> Hi @mihaa1 > > No, at this time we do not generate a foreign key in the db by default - we only generate the structure to store the...
Update: The problem is I'm accessing the model from getUser(), triggering backendFilter before I have everything backendFilter expects. Now I'm left with the original question - where should I pull...
@noam-honig thanks. I'll have to check the context approach. In the meantime - I added a raw sql query to get the user on each request in getUser() ``` const...
@noam-honig if ur asking why I'm not using the context option - I still don't know how to yet (I need to move fast here on some development :)
Thanks. Will it make sense to return the token I receive in the server to the client with Set-cookie?
@bright-coder thank u. Which method do u use on the backend to check the token?