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
We want to create some sample JSON we can then load into Gatsby GraphQL and build/run time. Depending on what shape we get data from the final API, we may still create a script that fetches the data and ultimately transforms it to a format that best suits our needs.
Shape of data
We could either create one JSON file with all the data we need for each pack OR we could create multiple JSON files (especially if we have multiple data sources) that we stitch together when loading into GraphQL (similar to how opensource does it).
Perhaps something like this may make sense, where each .json file contains all the data we would need for now.
Summary
We want to create some sample JSON we can then load into Gatsby GraphQL and build/run time. Depending on what shape we get data from the final API, we may still create a script that fetches the data and ultimately transforms it to a format that best suits our needs.
Shape of data
We could either create one JSON file with all the data we need for each pack OR we could create multiple JSON files (especially if we have multiple data sources) that we stitch together when loading into GraphQL (similar to how opensource does it).
Perhaps something like this may make sense, where each
.json
file contains all the data we would need for now.Data sources
We'll source data from the main observability pack GraphQL API for most pack data.
We'll also need to source data from github re: some pack info. Examples: contributors, copy/description, images.
Acceptance criteria
Helpful links
The text was updated successfully, but these errors were encountered: