@graphql-codegen/flutter-freezed 3.0.1 → 3.0.2-alpha-20230201151254-483ba33c3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,7 +44,7 @@ EnumBlock.buildBody = (config, node) => {
44
44
  jsonKey,
45
45
  // jsonValue
46
46
  ].join('');
47
- return [comment, decorators, `${enumValueName}\n`]
47
+ return [comment, decorators, `${enumValueName},\n`]
48
48
  .map(block => ((0, utils_js_1.stringIsNotEmpty)(block) ? (0, visitor_plugin_common_1.indent)(block) : block))
49
49
  .join('');
50
50
  }).join('');
@@ -40,7 +40,7 @@ EnumBlock.buildBody = (config, node) => {
40
40
  jsonKey,
41
41
  // jsonValue
42
42
  ].join('');
43
- return [comment, decorators, `${enumValueName}\n`]
43
+ return [comment, decorators, `${enumValueName},\n`]
44
44
  .map(block => (stringIsNotEmpty(block) ? indent(block) : block))
45
45
  .join('');
46
46
  }).join('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/flutter-freezed",
3
- "version": "3.0.1",
3
+ "version": "3.0.2-alpha-20230201151254-483ba33c3",
4
4
  "description": "GraphQL Code Generator plugin to generate Freezed models from your GraphQL schema",
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"