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
Encore handles the json.RawMessage type specially and treats it as "arbitrary JSON" in generated clients.
However, the generated TypeScript client translates this to object. This is usually fine, but doesn't support arbitrary JSON values at the top level (like true or 5). We should change the generated code to using any for these types (or a more specific JSON type; see microsoft/TypeScript#1897).
The text was updated successfully, but these errors were encountered:
Encore handles the
json.RawMessage
type specially and treats it as "arbitrary JSON" in generated clients.However, the generated TypeScript client translates this to
object
. This is usually fine, but doesn't support arbitrary JSON values at the top level (liketrue
or5
). We should change the generated code to usingany
for these types (or a more specific JSON type; see microsoft/TypeScript#1897).The text was updated successfully, but these errors were encountered: