Skip to content

Commit

Permalink
Fix bool type
Browse files Browse the repository at this point in the history
  • Loading branch information
treagod committed Nov 4, 2024
1 parent 2dec69a commit c4c34db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/marten/db/model/querying.cr
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ module Marten
@instance : Marten::DB::Model,
@related_field_id : ::String,
query : Marten::DB::Query::SQL::Query({{ @type }})? = nil,
@assign_related : Bool = false
@assign_related : ::Bool = false
)
super(@instance, @related_field_id, query, @assign_related)
end
Expand Down
2 changes: 1 addition & 1 deletion src/marten/db/query/related_set.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Marten
@instance : Marten::DB::Model,
@related_field_id : String,
query : SQL::Query(M)? = nil,
@assign_related : Bool = false
@assign_related : ::Bool = false
)
@query = if query.nil?
q = SQL::Query(M).new
Expand Down

0 comments on commit c4c34db

Please sign in to comment.