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

Allow for linked validations to be named differently to property #1181

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

joesaunderson
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes/no
Documented? yes/no
Fixed tickets #1180
License MIT

We were overriding the property variable with the property from the link... this meant that the property (of an input or argument) had to match the property of the linked validation too.

This fixes that, allowing them to be separate, meaning you can have a property named foo and link it to a validation named bar.

Not sure if this is a breaking change... as technically the bug prevented people from having different properties -> entity properties, so there shouldn't be any skew anyway.

@joesaunderson
Copy link
Contributor Author

@mcg-web @Vincz can I get a review on this please? 🙏

@Vincz
Copy link
Collaborator

Vincz commented Apr 27, 2024

Hi @joesaunderson! Good catch. Don't think is a BC either. Anyway, that was clearly not intended.
Thanks!

@Vincz Vincz merged commit 592d0b4 into overblog:master Apr 27, 2024
37 of 38 checks passed
@joesaunderson joesaunderson deleted the patch-1 branch April 27, 2024 09:18
@joesaunderson
Copy link
Contributor Author

Hi @joesaunderson! Good catch. Don't think is a BC either. Anyway, that was clearly not intended.

Thanks!

Thanks @Vincz. Do you know if this issue is intended too? Happy to raise another PR to fix if not.

#1182

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.

None yet

2 participants