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 had an enum set up with values of 2D and 3D, there’s a regex somewhere (probably this one?) that didn’t like these values so I changed them to TwoDimensional and ThreeDimensional.
Before I updated the old values in the database, queries threw an error:
Expected a value of type "DimensionsEnum" but received: 3D
I’m not entirely sure what this module should do here. We ensure old values are preserved during dev/build, so it’s therefore possible for those values to be returned from queries - perhaps because of that we should support them?
DBEnum has a getEnumObsolete() method that fetches all values including obsolete ones.
The text was updated successfully, but these errors were encountered:
I had an enum set up with values of
2D
and3D
, there’s a regex somewhere (probably this one?) that didn’t like these values so I changed them toTwoDimensional
andThreeDimensional
.Before I updated the old values in the database, queries threw an error:
I’m not entirely sure what this module should do here. We ensure old values are preserved during
dev/build
, so it’s therefore possible for those values to be returned from queries - perhaps because of that we should support them?DBEnum
has agetEnumObsolete()
method that fetches all values including obsolete ones.The text was updated successfully, but these errors were encountered: