Peter Absolon
Peter Absolon
For anyone looking into awaiting specific GQL requests we got this response from the support team: https://gist.github.com/CypressCecelia/29dfb1bcdc673d00702ab62ee99100e8 Edit: We've tested it and it works nicely. Yay. Thanks @amirrustam and @CypressCecelia
@amirrustam Works nicely! Thanks. Do you by any chance have a workaround for stubbing GQL requests too? I suppose we need to wait for this PR with that, don't we.
This is embarrassing. Sorry but it is what it is.
Same here, had to downgrade
@mweststrate Should the forward declaration approach work with Promises? When I run this code it tells me I can't modify the store. ```javascript const MyStore = types .model("MyStore", { isLoading:...
@xaviergonz So that's a neat workaround but it stills fails without setTimeout
@xaviergonz I see, thanks. So how would I go about mocking that function then? What's the recommended way?
@mweststrate Yeah using `self.openModal` will result in typescript complaining. Can you please elaborate on 1.? I don't understand what you mean by upcasting `self`. Code sample would be great. Thanks!...
Sometimes I really suck at being a React developer :(