Required fields in our input files #425
joshessman-llnl
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Continuation of earlier discussion on 3/17/21:
Consider the following C++ struct and its corresponding Inlet definition:
In my opinion, the following should fail verification:
Even though this matches the information already present in Inlet's internal representation, the explicit specification of a
foo
without including the requiredbaz
is what causes verification to fail.This motivated LLNL/axom#495 as the Inlet's internal representation is not changed* by the reading of the above Lua input. The user's explicit specification of the
foo
table is what triggers the failure - if no input was provided, verification would pass even though neither the empty input nor the above input change Inlet's internal state.Beta Was this translation helpful? Give feedback.
All reactions