-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
RFCA discussion about a future featureA discussion about a future feature
Description
Summary
Currently we have a documentation page around mocking fields/entities that aren't implemented yet, we could take this further by integrating faker.js we could make this as easy as adding { mock: 'phoneNumber' } or something similar which would mock the value when there isn't one present on the payload.
Proposed Solution
We extend the pothos field builder API with a mock option that integrates faker, when no value is present we invoke the faker method and mock the value.
Metadata
Metadata
Assignees
Labels
RFCA discussion about a future featureA discussion about a future feature