Michel Weststrate
Michel Weststrate
If you are not intending to refer / modify / merge / normalize etc the authors, I'd rather store them as frozen fields, and maintain your own lookup map (e.g....
In that case I'd recommend to simply not type the identifier as a types.identifier, but string. (you can even model your own custom references around it if you want to...
Make sure to use the recommended `export interface ITodo extends typeof Todo .Type {}` for all of your model types, that might help. On Mon, Nov 18, 2019 at 7:58...
@xaviergonz I was thinking myself a while back to give `types.map` a second argument with options, to define the serialization scheme: `types.map(SomeType, { serializeAs: "object" | "entries" | "array" })`...
@t49tran please check the build, this seems to break several middlewares
Personally I think it is fine, the only thing is that this will probably be open for a while, as no new major is planned at this point, and this...
Sorry, didn't have time personally yet to dive into this. But as the label suggests, feel free to chime in :). A PR with unit tests is already helpful.
Afaik there is nothing for it.
@xaviergonz @davidyxu I notice that this one is open for a really long time already :). Any suggestions on how to proceed?
@davidyxu so if I understand correctly from the issue, you were able to fix the problem with then existing middleware api's, by doing some more work, correct?