Skip to content

[Bug Fix] Fallback to :default view if nil is provided on render#472

Merged
lessthanjacob merged 1 commit intomainfrom
js/nil-view-fix
Oct 3, 2024
Merged

[Bug Fix] Fallback to :default view if nil is provided on render#472
lessthanjacob merged 1 commit intomainfrom
js/nil-view-fix

Conversation

@lessthanjacob
Copy link
Copy Markdown
Contributor

@lessthanjacob lessthanjacob commented Oct 3, 2024

Checklist:

  • I have updated the necessary documentation
  • I have signed off all my commits as required by DCO
  • My build is green

Fixes #471

Changelog

  • Falls back to :default if options hash contains a view key, but the value is "false-y".

Follow Ups

The test suite has become a bit of a mess, and I fear that we're introducing unintended regressions as a result. Will open an issue to try rework/restructure the tests.

Signed-off-by: Jacob Sheehy <jacobjsheehy@gmail.com>
@lessthanjacob lessthanjacob merged commit 0212025 into main Oct 3, 2024
@lessthanjacob lessthanjacob deleted the js/nil-view-fix branch October 3, 2024 20:25
@lessthanjacob lessthanjacob changed the title [Bug Fix] Fallback to :default view if nil is provided on reder [Bug Fix] Fallback to :default view if nil is provided on render Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] A view key of nil is not using the default

2 participants