Skip to content
Snippets Groups Projects
  • Cam Saul's avatar
    0a15637f
    Rename `metabase.mbql` to `metabase.legacy-mbql` (#40158) · 0a15637f
    Cam Saul authored
    * Wow
    
    * Test fix :wrench:
    
    * Fixes
    
    * Actions should use strings for column names (fix :update-row and :create-row normalization)
    
    * MLv2 schema should check against keys for the other query type
    
    * Ok, have I fixed things?
    
    * More fixes :wrench:
    
    * Fix indentation
    
    * Another round of test fixes. :wrench:
    
    * Hopefully the last few test fixes :wrench:
    
    * We need to test normalization for queries that have keyword keys as well.
    
    * Fix Cljs i18n namespaces
    
    * Sort namespaces
    
    * Only test against H2
    
    * Rename `metabase.mbql` to `metabase.legacy-mbql`
    
    * Fix Kondo warnings
    
    * Test fixes :wrench:
    
    * Register MBQL clause schemas and test fixes :wrench:
    
    * Test fixes and PR feedback
    
    * Test fix
    
    * Remove the normalization tests
    
    * Test fixes :wrench:
    
    * Fix kondo
    
    * Fix import
    
    * Another fix :wrench:
    
    * Merge
    
    * FIXES
    
    * Add another missing REQUIRE
    Rename `metabase.mbql` to `metabase.legacy-mbql` (#40158)
    Cam Saul authored
    * Wow
    
    * Test fix :wrench:
    
    * Fixes
    
    * Actions should use strings for column names (fix :update-row and :create-row normalization)
    
    * MLv2 schema should check against keys for the other query type
    
    * Ok, have I fixed things?
    
    * More fixes :wrench:
    
    * Fix indentation
    
    * Another round of test fixes. :wrench:
    
    * Hopefully the last few test fixes :wrench:
    
    * We need to test normalization for queries that have keyword keys as well.
    
    * Fix Cljs i18n namespaces
    
    * Sort namespaces
    
    * Only test against H2
    
    * Rename `metabase.mbql` to `metabase.legacy-mbql`
    
    * Fix Kondo warnings
    
    * Test fixes :wrench:
    
    * Register MBQL clause schemas and test fixes :wrench:
    
    * Test fixes and PR feedback
    
    * Test fix
    
    * Remove the normalization tests
    
    * Test fixes :wrench:
    
    * Fix kondo
    
    * Fix import
    
    * Another fix :wrench:
    
    * Merge
    
    * FIXES
    
    * Add another missing REQUIRE
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.cljfmt.edn 2.26 KiB
;; https://github.com/weavejester/cljfmt/blob/master/cljfmt/resources/cljfmt/indents/clojure.clj
{:extra-indents
 {auto-parse                                                       [[:inner 0]]
  cond->                                                           [[:inner 0]]
  check                                                            [[:inner 0]]
  deferred-tru                                                     [[:inner 0]]
  defprotocol+                                                     [[:block 1] [:inner 1]]
  potemkin/defprotocol+                                            [[:block 1] [:inner 1]]
  let-404                                                          [[:block 1]]
  metabase.legacy-mbql.util/match-one                              [[:inner 0]]
  merge-with                                                       [[:inner 0]]
  metabase.test/dataset                                            [[:inner 0]]
  metabase.test/formatted-rows                                     [[:inner 0]]
  metabase.test/mbql-query                                         [[:inner 0]]
  metabase.test/test-drivers                                       [[:inner 0]]
  metabase.test/with-temporary-setting-values                      [[:block 1]]
  ;; If we just treat these as functions we can ignore this, despite some files not being consistent
  ;metabase.models.permissions/set-has-full-permissions-for-set?    [[:inner 0]]
  ;metabase.models.permissions/set-has-full-permissions?            [[:inner 0]]
  ;metabase.models.permissions/set-has-partial-permissions?         [[:inner 0]]
  metabase.models.permissions/set-has-partial-permissions-for-set? [[:inner 0]]
  publish-event!                                                   [[:block 1]]
  metabase.query-processor.streaming/streaming-response            [[:inner 0]]
  metabase.util/prog1                                              [[:inner 0]]
  metabase.util/select-keys-when                                   [[:inner 0]]
  ;; This supports a lot of existing formatting, but these are functions so the
  ;; existing formatting is probably wrong.
  ;toucan2.core/select                                              [[:inner 0]]
  ;toucan2.core/update!                                             [[:inner 0]]
  }
 :sort-ns-references? true}