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.
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.