Skip to content

Commit 2865e96

Browse files
committed
Update README, LICENSE and .editorconfig
1 parent e05e030 commit 2865e96

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
[*]
3+
end_of_line = lf
4+
indent_style = space
5+
indent_size = 4

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Copyright 2017 Russell Briggs
2+
Copyright 2017 json-to-graphql-query Contributors
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ npm install json-to-graphql-query
1414
## Features
1515

1616
* Converts a JavaScript object to a GraphQL Query
17-
* Supports nested objects & arguments
18-
* Supports JSON input types for arguments (see arguments example below)
17+
* Full support for nested query nodes and arguments
18+
* Support for Enum values
19+
* Supports JSON input types for arguments
20+
21+
See usage examples below :)
1922

2023
## Usage
2124

src/jsonToGraphQLQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ export function jsonToGraphQLQuery(query: any, options: IJsonToGraphQLOptions =
8989
}
9090

9191
export class EnumType {
92-
constructor(public value: string) {}
92+
constructor(public value: string) {}
9393
}

0 commit comments

Comments
 (0)