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

Add only and except support for inputs, internals and outputs #111

Merged
merged 18 commits into from
Aug 5, 2023

Conversation

afuno
Copy link
Member

@afuno afuno commented Aug 5, 2023

outputs.full_name = inputs.only(:first_name, :middle_name, :last_name).values.compact.join(" ")
outputs.full_name = inputs.except(:gender).values.compact.join(" ")

@afuno afuno added the feature label Aug 5, 2023
@afuno afuno self-assigned this Aug 5, 2023
@afuno afuno marked this pull request as ready for review August 5, 2023 11:00
@afuno afuno merged commit f78c752 into main Aug 5, 2023
9 checks passed
@afuno afuno deleted the features/only_and_except branch August 5, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant