[tech debt] Stop using ms/BooleanString and only use ms/BooleanValue (#41390)
* [tech debt] Stop using ms/BooleanString and only use ms/BooleanValue ms/BooleanString will coerce to a string, and we should probably get rid of it and only ever use ms/BooleanValue which will always coerce to a boolean We want the coercion layer to give us values that are helpful, and true is more helpful than "true". So we should remove ms/BooleanString and calls to parseBoolean * Remove ms/BooleanString usage in api/native_query_snippet.clj * Remove test case related to ms/BooleanString * Remove the BooleanString schema def as no longer used
Showing
- src/metabase/api/alert.clj 5 additions, 5 deletionssrc/metabase/api/alert.clj
- src/metabase/api/collection.clj 4 additions, 4 deletionssrc/metabase/api/collection.clj
- src/metabase/api/database.clj 6 additions, 6 deletionssrc/metabase/api/database.clj
- src/metabase/api/native_query_snippet.clj 2 additions, 2 deletionssrc/metabase/api/native_query_snippet.clj
- src/metabase/api/pulse.clj 4 additions, 4 deletionssrc/metabase/api/pulse.clj
- src/metabase/api/timeline.clj 4 additions, 4 deletionssrc/metabase/api/timeline.clj
- src/metabase/api/user.clj 2 additions, 2 deletionssrc/metabase/api/user.clj
- src/metabase/util/malli/schema.clj 0 additions, 7 deletionssrc/metabase/util/malli/schema.clj
- test/metabase/util/malli/schema_test.clj 0 additions, 3 deletionstest/metabase/util/malli/schema_test.clj
Please register or sign in to comment