From 58ff0d6ab61671421317fb261b1c596b334cfc14 Mon Sep 17 00:00:00 2001 From: Corentin Ardeois Date: Wed, 15 Jul 2020 09:41:19 -0400 Subject: [PATCH] doc: update mock name Now we use `indefinite`, it's now `anUpdateUserInput` instead of `aUpdateUserInput` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0abeb98..4503413 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ Changes the case of the enums. Accepts `upper-case#upperCase`, `pascal-case#pasc ### scalars (`{ [Scalar: string]: keyof Casual.Casual | Casual.functions }`, defaultValue: `undefined`) Allows you to define mappings for your custom scalars. Allows you to map any GraphQL Scalar to a - [casual](https://github.com/boo1ean/casual#embedded-generators) embedded generator (string or - function key) +[casual](https://github.com/boo1ean/casual#embedded-generators) embedded generator (string or +function key) ## Example of usage @@ -108,7 +108,7 @@ export const anAvatar = (overrides?: Partial): Avatar => { }; }; -export const aUpdateUserInput = (overrides?: Partial): UpdateUserInput => { +export const anUpdateUserInput = (overrides?: Partial): UpdateUserInput => { return { id: overrides && overrides.hasOwnProperty('id') ? overrides.id! : '1d6a9360-c92b-4660-8e5f-04155047bddc', login: overrides && overrides.hasOwnProperty('login') ? overrides.login! : 'qui',