Skip to content

adding null behaviour in mutation build#71

Merged
joskfg merged 8 commits intomasterfrom
feature/adding_null_behaviour_in_mutation_build
Mar 26, 2025
Merged

adding null behaviour in mutation build#71
joskfg merged 8 commits intomasterfrom
feature/adding_null_behaviour_in_mutation_build

Conversation

@Lotykun-Softonic
Copy link
Contributor

Adapting Mutation to manage null values in item fields.. in this case, the key from the mutation will be removed.

}

protected function buildFilteredCollection($items)
protected function buildFilteredCollection($items): \Softonic\GraphQL\DataObjects\Mutation\FilteredCollection
Copy link

@josemanuel-cardona josemanuel-cardona Mar 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use an import. Review all the code.

}

if (self::hasChildrenToMutate($childConfig, $sourceValue)) {
if (self::hasChildrenToMutate($childConfig)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test to verify this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@joskfg joskfg merged commit 72ae042 into master Mar 26, 2025
1 check passed
@joskfg joskfg deleted the feature/adding_null_behaviour_in_mutation_build branch March 26, 2025 14:37
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

Successfully merging this pull request may close these issues.

4 participants