Replies: 2 comments
-
|
I was also wondering if this is possible. Injecting contextual runtime data (without fetching it all the time from the server via |
Beta Was this translation helpful? Give feedback.
-
|
It would be great if this could be done even higher up at the chain, at the parse level: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, is there a possibility of adding a custom context (say with a
thisor some other parameter) to a .superRefine addition? I need to use an external variable that I cannot get during the superRefine run, so I need to have something like this:Would it however be possible to have something like this instead? It allows for the functions to be pure and be ran in cases where you obtain the data some way (such as by a database query or an API call) to allow for the schema to have only validation code, rather than also including code to fetch the data itself.
Beta Was this translation helpful? Give feedback.
All reactions