Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/ensapi/src/omnigraph-api/schema/scalars.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
asInterpretedLabel,
asInterpretedName,
type BeautifiedLabel,
type BeautifiedName,
type ChainId,
type CoinType,
type DomainId,
type Hex,
type InterpretedLabel,
type InterpretedName,
isInterpretedLabel,
isInterpretedName,
type Name,
Expand Down Expand Up @@ -110,7 +110,7 @@ builder.scalarType("InterpretedName", {
});
}
})
.transform((val) => asInterpretedName(val))
.transform((val) => val as InterpretedName)
.parse(value),
});

Expand All @@ -129,7 +129,7 @@ builder.scalarType("InterpretedLabel", {
});
}
})
.transform((val) => asInterpretedLabel(val))
.transform((val) => val as InterpretedLabel)
.parse(value),
});

Expand Down
3 changes: 3 additions & 0 deletions packages/enskit/src/react/omnigraph/_lib/cache-exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const omnigraphCacheExchange = cacheExchange({
// These entities are Embedded Data and don't have a relevant key
Label: EMBEDDED_DATA,
WrappedBaseRegistrarRegistration: EMBEDDED_DATA,
CanonicalName: EMBEDDED_DATA,
DomainCanonical: EMBEDDED_DATA,
DomainResolver: EMBEDDED_DATA,
},
resolvers: mergeResolverMaps(
// produce relayPagination() local resolvers for each t.connection in the schema
Expand Down
Loading