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

CM-313: Tasks are not created after benefit plan update #18

Merged
merged 5 commits into from Sep 21, 2023

Conversation

sniedzielski
Copy link
Contributor

TICKET: https://openimis.atlassian.net/browse/CM-313

Issue caused by having json_ext as type, not dict

Copy link
Contributor

@dborowiecki dborowiecki left a comment

Choose a reason for hiding this comment

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

I don't quite understand this change. Is there a need to create one empty dict and returning it globally? I don't think that's safe and could lead to unexpected results.

For instance, if someone will add key to EMPTY_DICT outside of service then service results will be afected. Shouldn't we create instance of dict in here instead?

@sniedzielski
Copy link
Contributor Author

You are right. Just removed EMPTY_DICT const. You can re-check

@sonarcloud
Copy link

sonarcloud bot commented Sep 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dborowiecki dborowiecki merged commit ff26581 into release/23.10 Sep 21, 2023
7 of 13 checks passed
@dborowiecki dborowiecki deleted the feature/CM-313 branch September 21, 2023 09:46
sniedzielski added a commit that referenced this pull request Sep 29, 2023
* CM-313: Tasks are not created after benefit plan update (#18)

* CI update

* CI Update 2

* CM-313: fixing creation of tasks - no longer json_ext as type

* CM-313: removed EMPTY_DICT and changed to {}

---------

Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com>
Co-authored-by: Jan <jdolkowski@soldevelo.com>

* CM-327: connects tasks and mutations

---------

Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com>
Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com>
Co-authored-by: Jan <j.dolkowski@soldevelo.com>
delcroip added a commit that referenced this pull request Oct 2, 2023
CM-313: Tasks are not created after benefit plan update (#18)
dragos-dobre added a commit that referenced this pull request Oct 18, 2023
* CI update

* CI Update 2

* Added update job (#19)

* CM-327: connect tasks and mutations (#20)

* CM-313: Tasks are not created after benefit plan update (#18)

* CI update

* CI Update 2

* CM-313: fixing creation of tasks - no longer json_ext as type

* CM-313: removed EMPTY_DICT and changed to {}

---------

Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com>
Co-authored-by: Jan <jdolkowski@soldevelo.com>

* CM-327: connects tasks and mutations

---------

Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com>
Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com>
Co-authored-by: Jan <j.dolkowski@soldevelo.com>

---------

Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com>
Co-authored-by: Jan <jdolkowski@soldevelo.com>
Co-authored-by: Damian Borowiecki <dborowiecki7@gmail.com>
Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com>
Co-authored-by: Jan <j.dolkowski@soldevelo.com>
Co-authored-by: Patrick Delcroix <delcroip@gmail.com>
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

3 participants