thefrontside / simulacrum

A simulation platform for use during testing, during development and for high-fidelity application previews
85 stars 14 forks source link

`repositoryOwner` GitHub API Simulator Resolver #267

Closed jbolda closed 10 months ago

jbolda commented 10 months ago

Motivation

The repositoryOwner query was missing. Adding it.

Approach

We added the resolver and abstracted out the return into a switch statement to more easily return the values consistently across queries and respecting the nesting and pagination.

netlify[bot] commented 10 months ago

Deploy Preview for simulacrum canceled.

Name Link
Latest commit fc4441f33c2595469aa73122c3a414f30441c0c5
Latest deploy log https://app.netlify.com/sites/simulacrum/deploys/64f88a238a7ba30008e2cb47
jbolda commented 10 months ago

We currently don't have any tests for the Github API simulator. Personally, I think tests and a test suite should come in separate PRs. We also need a README.