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
Client Framework and version (Relay, Apollo, etc): graphiql
Expected behavior
First, running mix compile
Next, changing something in a types file like
field(:id, :id)
to
field(:id, :alternate_id)
testing assertions on the new behavior and using the action from a browser in dev should read from the alternate_id.
Actual behavior
id continued to produce the :id db column until running mix clean. Then it works as expected. Restarting iex on its own is not enough to break the stale cache.
The text was updated successfully, but these errors were encountered:
bmidgley
changed the title
mix clean is sometimes required to see changes take effectmix clean is required to see types changes take effect
Sep 1, 2021
Environment
Expected behavior
First, running
mix compile
Next, changing something in a types file like
field(:id, :id)
to
field(:id, :alternate_id)
testing assertions on the new behavior and using the action from a browser in dev should read from the alternate_id.
Actual behavior
id continued to produce the :id db column until running
mix clean
. Then it works as expected. Restarting iex on its own is not enough to break the stale cache.The text was updated successfully, but these errors were encountered: