You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure there's a one-liner for this somewhere, right?
The broader goal here is to merge an object of type CreateStoreThemeOptions with the ones that comes from the database and is of type Primsa.JsonValue (using ramda's mergeDeepRight).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to ensure that
theme
even though it's got the type ofPrisma.JsonValue
, the actual shape of it is likeCreateStoreThemeOptions
:I'm sure there's a one-liner for this somewhere, right?
The broader goal here is to merge an object of type
CreateStoreThemeOptions
with the ones that comes from the database and is of typePrimsa.JsonValue
(usingramda
'smergeDeepRight
).Beta Was this translation helpful? Give feedback.
All reactions