Visitar URL original
fix: Ensure tag values are converted to strings · feast-dev/feast@65177a0 · GitHub
Skip to content

Commit 65177a0

Browse files
committed
fix: Ensure tag values are converted to strings
Signed-off-by: Rohit Bharmal <rohitbharmal123@gmail.com>
1 parent f624c8c commit 65177a0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎ui/src/pages/entities/EntityOverviewTab.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ import { FEAST_FCO_TYPES } from "../../parsers/types";
2828
import useLoadRegistry from "../../queries/useLoadRegistry";
2929
import { getEntityPermissions } from "../../utils/permissionUtils";
3030
import { toDate } from "../../utils/timestamp";
31+
import { feast } from "../../protos";
3132
import FeatureViewEdgesList from "./FeatureViewEdgesList";
3233
import useFeatureViewEdgesByEntity from "./useFeatureViewEdgesByEntity";
3334
import useLoadEntity from "./useLoadEntity";
3435
import { useApplyEntity } from "../../queries/mutations/useEntityMutations";
3536

3637
const buildEditFormData = (entity: feast.core.IEntity): EntityFormData => {
3738
const tags = entity.spec?.tags
38-
? Object.entries(entity.spec.tags).map(([key, value]) => ({ key, value }))
39+
? Object.entries(entity.spec.tags).map(([key, value]) => ({
40+
key,
41+
value: String(value),
42+
}))
3943
: [];
4044

4145
const joinKeys = entity.spec?.joinKey ? [entity.spec.joinKey] : [""];

0 commit comments

Comments
 (0)