Open silencer07 opened 4 years ago
solutions:
I had the same issue on my end when running yarn test
. I ended up changing the '../'
imports
Thank you for solution! I wasted 5 hours trying to implement new store. Fixed with index.ts file. So isn't it should be done when running "ignite generate model"? According to the link in the README when model is generated there should be also index.ts
Steps to reproduce:
export const RootStoreModel = types.model("RootStore").props({ user: types.maybeNull(FooModel) })