Skip to content

Commit

Permalink
chore: fix 1.17 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jun 21, 2024
1 parent 240b7eb commit 7df615b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spark/dsl/verifiers/verify_entity_uniqueness.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule Spark.Dsl.Verifiers.VerifyEntityUniqueness do
do_verify_entity_uniqueness(module, entity, section_path, dsl_state)
end)

Enum.each(section.sections, fn section ->
Enum.each(section.sections(), fn section ->

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / MIX_ENV=test mix.compile

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix format --check-formatted

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix sobelow

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix test

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix deps.unlock --check-unused

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field

Check warning on line 32 in lib/spark/dsl/verifiers/verify_entity_uniqueness.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix spark.cheat_sheets --check

using module.function() notation (with parentheses) to fetch map field :sections is deprecated, you must remove the parentheses: map.field
verify_entity_uniqueness(module, section, dsl_state, section_path)
end)

Expand Down

0 comments on commit 7df615b

Please sign in to comment.