nickjantz
nickjantz
WWasp-lang
Created by nickjantz on 3/16/2024 in #đŸ™‹questions
useQuery in an eventHandler?
Now I am able to get it working without using useQuery, and just calling the query itself. The query is returning a promise so I'm just using a .then to access the resolved promise and use in setState hook and it's working, however curious if I'm loosing any major functionality/security by not using the useQuery functionality WASP provides
5 replies
WWasp-lang
Created by nickjantz on 3/5/2024 in #đŸ™‹questions
Running alongside separate authed API?
Yep the second, I can shove anything from the wasp server to my server that may be relevant!
9 replies
WWasp-lang
Created by nickjantz on 3/5/2024 in #đŸ™‹questions
Running alongside separate authed API?
so in my case of wanting different tiers accessing different levels of the API the wasp server > my API call could include the user tier level and verify and modify the response based on that as well
9 replies
WWasp-lang
Created by nickjantz on 3/5/2024 in #đŸ™‹questions
Running alongside separate authed API?
This sounds exactly right to me, thank you for spelling it out. Exactly what I want but just couldn't conceptualize it in my head. Very much appreciated! Depending on architecture my existing data API server could remain off the WWW and only available from within my wasp network as well.
9 replies