Open
Description
Hi, I want to implement a feature like graphql-faker, so that our devloper can mock API response more easier. any advice would be appreciated.
type Customer {
firstname: String @doc(description: "The customer's first name") @fake("firstName")
}
Why
- This feature is userful for decopling the frontend and backend developer, as long as they have some basic understandings, they can develop separately at the same time.
What I investigated
-
fzaninotto/Faker
this repo can generate fake data for php, although it is abadoned, it is good for this case. -
Implement a fake directive like the
resolver
directive.
Metadata
Metadata
Assignees
Type
Projects
Status
Ready for Grooming