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

Fixing file validation rules #310

Merged
merged 3 commits into from
Jun 27, 2023
Merged

Fixing file validation rules #310

merged 3 commits into from
Jun 27, 2023

Conversation

michaelbaril
Copy link
Contributor

Hi,
Validation rules for file attributes are not applied correctly since the name of the flexible attribute is not the actual name of the file in the request. (issues #112, #238)
This fixes the issue, hopefully.

@cgarofalo
Copy link

Can this be merged? Any movement on this?

@gijsbeijer
Copy link

Tested the fix and it looks like it is working for my cases.

Could this be merged?

@toonvandenbos
Copy link
Member

Hi all, sorry for the delay. This PR is quite interesting, will give it a closer look.

@toonvandenbos toonvandenbos merged commit 274dc38 into whitecube:master Jun 27, 2023
@toonvandenbos
Copy link
Member

Thanks @michaelbaril!

I did not have much time to test if this approach could be generalized to all input attributes or if it should stay file-specific. Feel free to take a look at this if you have the opportunity.

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