Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GraphQL approach for world index #3908

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented Dec 13, 2024

Trello

Given we're still in the learning stage with the GraphQL project, we've decided to minimise the changes needed on frontend apps by retaining the current heavily nested data structure. This updates Collections to work with that format (the changes to Publishing API are also in progress). This means that the code for the world index page in collections will be less divergent between paths for GraphQL and REST data sources. This commit undoes some of the divergence we initially introduced

We plan to revisit simplifying the data structure later (into a less nested form)

Publishing API PR


⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Given we're still in the learning stage with the GraphQL project, we've
decided to minimise the changes needed on frontend apps by retaining the
current heavily nested data structure. This updates Collections to work
with that format (the changes to Publishing API are also in progress).
This means that the code for the world index page in collections will be
less divergent between paths for GraphQL and REST data sources. This
commit undoes some of the divergence we initially introduced

We plan to revisit simplifying the data structure later (into a less
nested form)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants