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
it would be great if it would be possible to exclude some fields. For example ID or date fields that make conflicts with snapshots.
Now I solve it with bash script:
find ./tests/ -name *.gql -type f -exec sed -i '' -e "s/ updatedAt//" {} \;
find ./tests/ -name *.gql -type f -exec sed -i '' -e "s/ createdAt//" {} \;
It goes to every gql file and remove createdAt and updatedAt fields. The space before those two is because we do not want to strip out the arguments with the same name.
The text was updated successfully, but these errors were encountered:
Hey,
it would be great if it would be possible to exclude some fields. For example ID or date fields that make conflicts with snapshots.
Now I solve it with bash script:
It goes to every gql file and remove
createdAt
andupdatedAt
fields. The space before those two is because we do not want to strip out the arguments with the same name.The text was updated successfully, but these errors were encountered: