jbuilder icon indicating copy to clipboard operation
jbuilder copied to clipboard

Add support for ignoring nil values in Jbuilder scope

Open moritonal opened this issue 10 months ago • 3 comments

Okay, this isn't clear to merge yet. I'm doing this to see how the Actions run because I think there's currently a bug in it's building.

moritonal avatar Feb 07 '25 17:02 moritonal

Okay, so it's not just me, the actions are all failing on

/home/runner/work/jbuilder/jbuilder/vendor/bundle/ruby/3.0.0/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:12:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
	from /home/runner/work/jbuilder/jbuilder/vendor/bundle/ruby/3.0.0/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:9:in `<module:ActiveSupport>'

moritonal avatar Feb 07 '25 17:02 moritonal

Okay, Ruby isn't my primary language so any advice is welcome on how to improve this. But it should fix up the issue whereby nested null's aren't processed correctly.

moritonal avatar Feb 07 '25 18:02 moritonal

Attempts to solve #363

moritonal avatar Feb 07 '25 18:02 moritonal