@soda-gql/builder 0.8.2 → 0.9.0
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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1735,7 +1735,7 @@ const collectAllDefinitions$1 = ({ module, gqlIdentifiers, imports: _imports, ex
|
|
|
1735
1735
|
const getAnonymousName = (kind) => {
|
|
1736
1736
|
const count = anonymousCounters.get(kind) ?? 0;
|
|
1737
1737
|
anonymousCounters.set(kind, count + 1);
|
|
1738
|
-
return
|
|
1738
|
+
return `_${kind}_${count}`;
|
|
1739
1739
|
};
|
|
1740
1740
|
const withScope = (stack, segment, kind, stableKey, callback) => {
|
|
1741
1741
|
const handle = tracker.enterScope({
|
|
@@ -2150,7 +2150,7 @@ const collectAllDefinitions = ({ sourceFile, identifiers, exports }) => {
|
|
|
2150
2150
|
const getAnonymousName = (kind) => {
|
|
2151
2151
|
const count = anonymousCounters.get(kind) ?? 0;
|
|
2152
2152
|
anonymousCounters.set(kind, count + 1);
|
|
2153
|
-
return
|
|
2153
|
+
return `_${kind}_${count}`;
|
|
2154
2154
|
};
|
|
2155
2155
|
const withScope = (stack, segment, kind, stableKey, callback) => {
|
|
2156
2156
|
const handle = tracker.enterScope({
|