Can confirm, also encountering issues in the conso...
# prisma-whats-new
l
Can confirm, also encountering issues in the console. I got an error: Type error at the right top in red. After a few reloads it started working again.
n
@lucfranken hey do you still experience this problem?
l
Currently not, it's an inconsistent issue which seems to happen when things are not loaded in order in the interface. I know, those are hard bugs to fix 🙂
n
ahh ok! if you got more info to reproduce this let me know 🙂 Thanks for your help!
l
@nilan Some quick feedback from my first tests btw: Most steps are quite clear but what's really hard is starting with mutations. I got it figured out and I know use the playground to find what's relevant but it's not easy to find (first time) which mutations are available.
For sure not because the apollo docs name the mutations totally different. An example on that (maybe even a main menu item in the console) would be very helpful to get a start for a new user.
n
Thanks for your feedback @lucfranken. I have different ideas here, for example a "cheatsheet". Here's a rough first version, do you think that helps? https://www.graph.cool/docs/faq/simple-api-cheatsheet-aigheequ7j/
l
yes that helps a lot, for first time experience it should be available from the data or playground tab
n
do you think adding a mutation to the onboarding would help as well? It's kind of hard to find the right balance between too little information and too much so it's becoming overwhelming
l
Personally I skip on boarding most of the times. More in your case because I already watched your video so decided to take a look by myself.
My feeling was: Mutations is missing in the interface. I only found mutation callback so there I went
which was obviously wrong
Not sure whether you like feedback this way. If not let me know!
it uses react router where react-navigation seems to become the standard in react native applications.
n
That's definitely a great place to give feedback! Thanks for that 🙂 I'll think of ways for a better transition towards the API in regards of queries but especially mutations 🙂
this is an react example though 🙂
We also have this Expo example which uses ex-navigation: https://github.com/graphcool-examples/exponent-auth0-instagram-example
l
thanks will take a look
yes that's with ExNavigation, see: https://github.com/expo/ex-navigation
n
yea that's what I said 😛
it's being replaced it seems
n
ahh I see
I'll create an issue to upgrade this example
l
@nilan Tried for a few hours now but I think even the example doesn't work:
n
Can you clarify what doesn't work?
l
it seems to work, you get a popup, but when you are logged in on Auth0 just nothing happens. You keep seeing the login button.
"Sign in to create a post"
but maybe I just don't get it, first time with Graph databases
n
Hm ok.
No I can imagine that the example needs to be adjusted to recent updates to Expo 15
it has been written for Expo 14
l
ah that could be it!
was trying for hours before trying the example. that's my not so smart move 😂
n
Maybe we can take a step back, what are you trying to achieve?
Aww that sucks, sorry about that!
l
I want to login with my Expo app using Auth0
but for now, if that doesn't work, I am open to a simpler flow (like e-mail)
n
Ah, because you said RN before. So it's expo, cool
l
about the same but without the linking headaches 🙂
so basically my goal: Get some basic login flow. Signup not even needed
sure that the field is called mail instead of email in signInUser?
n
nope, that's called
email
🙂 I'll fix this right away!
Let me know if you have gained any insights into the Expo issues. If you're on RN it should be fairly straight-forward to port the React example though, by replacing
localStorage
with
AsyncStorage
l
Hi @nilan
yes got that, that's the simple part.
this example also contains an issue: options: { forceFetch: true } is not supported by Apollo anymore.
gives a breaking bug
if you want I have a simple example which works
n
Yea awesome! A PR or created issue would be great 🙂