graphql-faker icon indicating copy to clipboard operation
graphql-faker copied to clipboard

Extend number of faker items

Open tdsfugal opened this issue 8 years ago • 1 comments

I love this project!!!

Faker has many more types that can be faked. (for example, Lorem has lots of subtypes like 'slug".) Would be nice to access them with an extensions file.

Looks like there is a config file that can be extended. Going to try that on a fork. Might get to a pull request...

tdsfugal avatar Oct 09 '17 16:10 tdsfugal

Going to try that on a fork. Might get to a pull request...

@tdsfugal Would be great 👍 You can add new types here: https://github.com/APIs-guru/graphql-faker/blob/master/src/fake.ts#L51 And also list the new types here: https://github.com/APIs-guru/graphql-faker/blob/master/src/fake_definition.graphql#L41

Looking forward to your PR! Feel free to ask questions. If you don't have time for PR just list suggested items and I will try to add them in future.

IvanGoncharov avatar Oct 11 '17 17:10 IvanGoncharov