Skip to content

Commit d25e8d4

Browse files
authored
Change online UI schema field to be optional (feast-dev#2766)
Change the `online` field in feastFeatureViews schema to be optional. This addresses a problem with the UI erroring out when trying to present offline FeatureViews since protobuf would not pass along the `online` tag (feast-dev#2719). Signed-off-by: Dirk Van Bruggen <dirk@punchcyber.com>
1 parent da763c6 commit d25e8d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/parsers/feastFeatureViews.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const FeastFeatureViewSchema = z.object({
3939
features: z.array(FeastFeatureColumnSchema),
4040
ttl: z.string().transform((val) => parseInt(val)),
4141
batchSource: FeastBatchSourceSchema,
42-
online: z.boolean(),
42+
online: z.boolean().optional(),
4343
owner: z.string().optional(),
4444
tags: z.record(z.string()).optional(),
4545
}),

0 commit comments

Comments
 (0)