ParticipioLabs / realities

A tool for decentralised organisations.
https://realities.platoproject.org/
GNU Affero General Public License v3.0
35 stars 9 forks source link

Remove building of fragment types #69

Open gustavlrsn opened 5 years ago

gustavlrsn commented 5 years ago

Per this comment: https://github.com/Edgeryders-Participio/realities/pull/60#discussion_r235997317 it would be nice to improve the building/storing of fragment types to not have a checked in file that is generated on startup.

Current approach is pretty much following this guide: https://www.apollographql.com/docs/react/advanced/fragments.html#fragment-matcher

Relevant issue in to explore/keep track of: https://github.com/apollographql/apollo-client/issues/4148

Powersource commented 3 years ago

I thiiink the fragment generation stuff is deprecated and not needed anymore. So we should in that case just remove the generation stuff.