We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While working on query proposals, I noticed that many many fields are duplicated in a number of records in
query proposals
cardano-cli/cardano-cli/src/Cardano/CLI/EraBased/Commands/Query.hs
Line 85 in 8216024
This issue keeps track of sharing all these fields in a nested record.
The text was updated successfully, but these errors were encountered:
I'm not sure that would be a big improvement here. So instead of punning:
QueryStakeAddressInfoCmdArgs{ nodeSocketPath, consensusModeParams, networkId, mOutfile}
I imagine you'd do something like
QueryStakeAddressInfoCmdArgs{ onlineCmdArgs=OnlineCmdArgs{ nodeSocketPath, consensusModeParams, networkId, mOutfile}}
which adds more characters and some indirection. We would save some duplication on parsers though.
I'm not blocking this, just my two cents. I'm ok with trying to do it. 👍🏻
Sorry, something went wrong.
smelc
Successfully merging a pull request may close this issue.
While working on
query proposals
, I noticed that many many fields are duplicated in a number of records incardano-cli/cardano-cli/src/Cardano/CLI/EraBased/Commands/Query.hs
Line 85 in 8216024
This issue keeps track of sharing all these fields in a nested record.
The text was updated successfully, but these errors were encountered: