Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Allow optional keys in Join clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul committed Aug 1, 2019
1 parent 9b8eed5 commit 6ab1a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject metabase/mbql "1.3.3"
(defproject metabase/mbql "1.3.4"
:description "Shared things used across several Metabase projects, such as i18n and config."
:url "https://github.com/metabase/mbql"
:min-lein-version "2.5.0"
Expand Down
4 changes: 3 additions & 1 deletion src/metabase/mbql/schema.clj
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@
;; Metadata about the source query being used, if pulled in from a Card via the `:source-table "card__id"` syntax.
;; added automatically by the `resolve-card-id-source-tables` middleware.
(s/optional-key :source-metadata)
(s/maybe [SourceQueryMetadata])}
(s/maybe [SourceQueryMetadata])

s/Keyword s/Any}
(s/constrained
(every-pred
(some-fn :source-table :source-query)
Expand Down

0 comments on commit 6ab1a9c

Please sign in to comment.