Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This code is not doing anything (Forms::Panel) #100

Open
kspurgin opened this issue Oct 21, 2022 · 0 comments
Open

This code is not doing anything (Forms::Panel) #100

kspurgin opened this issue Oct 21, 2022 · 0 comments

Comments

@kspurgin
Copy link
Collaborator

report_non_nil_keys(data)
return data
end
# form children have keys: key, ref, props, and _owner
# I'm proceeding based on the assumption that I only care about props because
# the others are always nil
# This logs any non-nil values for key, ref, or _owner so I can inspect
def report_non_nil_and_missing_keys(data)
data.each{ |h|
%w[key ref _owner].each{ |k| check_key(h, k) }
}
end
def check_key(hash, key)
end

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

No branches or pull requests

1 participant