Skip to content

Commit

Permalink
(do not merge): demonstrate replacing lazyObject
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Mar 17, 2024
1 parent 2533619 commit f0da5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialization/resources/apps/types/AppCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const AppCreate: core.serialization.ObjectSchema<serializers.AppCreate.Ra
core.serialization.object({
name: core.serialization.string(),
namespace: core.serialization.string(),
type: core.serialization.lazy(async () => (await import("../../..")).AppType),
type: serialization.AppType,

Check failure on line 13 in src/serialization/resources/apps/types/AppCreate.ts

View workflow job for this annotation

GitHub Actions / compile

Cannot find name 'serialization'.
entity: core.serialization.string().optional(),
entityPlural: core.serialization.string().optional(),
icon: core.serialization.string().optional(),
Expand Down

0 comments on commit f0da5a2

Please sign in to comment.