Skip to content

Handling Arrays as the root node#6

Open
lukelex wants to merge 19 commits into
aion-dk:mainfrom
SimplerQMS:main
Open

Handling Arrays as the root node#6
lukelex wants to merge 19 commits into
aion-dk:mainfrom
SimplerQMS:main

Conversation

@lukelex

@lukelex lukelex commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

The following is now supported and will run validations as expected:

class MyParams
  extend Scheemer::DSL

  schema do
    required(:root).array(:hash)
  end
end

CustomParams.new({ root: [...]})

@lukelex lukelex force-pushed the main branch 2 times, most recently from e07755f to 0f68069 Compare June 22, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant