eturino/apollo-link-scalars

Fields might get passed to parseValue more than once

floriancargoet opened this issue · 0 comments

#545 was closed too fast.

When a field is present multiple times in a document (because of overwriting fragments), its value is incorrectly parsed multiple times.

A workaround is to check manually in parseValue if the provided value is raw or already parsed but it would be better to avoid calling parseValue multiple times.