You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we fetch a record from fauna, we get things like Ref, which we obviously have to manually "normalize" before returning the data to the frontend, like so:
See an example of an existing similar functionality: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/modules/_aws_sdk_util_dynamodb.html#unmarshall-1
When we fetch a record from fauna, we get things like
Ref
, which we obviously have to manually "normalize" before returning the data to the frontend, like so:ideally, fauna-js should have a built-in function to normalize deeply nested such data.
The text was updated successfully, but these errors were encountered: