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

flat_params hotfix respect to empty models #179

Merged
merged 2 commits into from
Aug 15, 2023
Merged

flat_params hotfix respect to empty models #179

merged 2 commits into from
Aug 15, 2023

Conversation

pebeto
Copy link
Member

@pebeto pebeto commented Aug 15, 2023

#177 missed the capability to get the tuple representation from an empty struct property. This PR solves that specific problem by adding a race condition.

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2023

Codecov Report

Merging #179 (f9de574) into dev (fc6323b) will not change coverage.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##              dev     #179   +/-   ##
=======================================
  Coverage   89.21%   89.21%           
=======================================
  Files           8        8           
  Lines         380      380           
=======================================
  Hits          339      339           
  Misses         41       41           
Files Changed Coverage Δ
src/parameter_inspection.jl 100.00% <100.00%> (ø)

@pebeto
Copy link
Member Author

pebeto commented Aug 15, 2023

By discussed with @ablaom, we can simplify the race condition approach by just doing the verification in the trait.

Copy link
Member

@ablaom ablaom left a comment

Choose a reason for hiding this comment

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

Looks good to go.

@ablaom ablaom merged commit 23c9573 into dev Aug 15, 2023
2 checks passed
@ablaom ablaom mentioned this pull request Aug 15, 2023
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.

3 participants