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

[backend] Fix on deleted injector contract #2204

Merged
merged 3 commits into from
Jan 14, 2025
Merged

[backend] Fix on deleted injector contract #2204

merged 3 commits into from
Jan 14, 2025

Conversation

Dimfacion
Copy link
Member

@Dimfacion Dimfacion commented Jan 13, 2025

Proposed changes

  • Better definition of relationship between injector contract and importer

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality
  • For bug fix -> I implemented a test that covers the bug

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Jan 13, 2025
@Dimfacion Dimfacion marked this pull request as draft January 13, 2025 16:19
@Dimfacion Dimfacion marked this pull request as ready for review January 13, 2025 17:01
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.69%. Comparing base (df8ed7b) to head (6b79c64).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2204      +/-   ##
============================================
+ Coverage     32.66%   32.69%   +0.02%     
- Complexity     1511     1513       +2     
============================================
  Files           581      582       +1     
  Lines         18026    18033       +7     
  Branches       1156     1156              
============================================
+ Hits           5889     5896       +7     
  Misses        11874    11874              
  Partials        263      263              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

savacano28
savacano28 previously approved these changes Jan 13, 2025
@savacano28 savacano28 dismissed their stale review January 14, 2025 08:05

In progress

Statement statement = connection.createStatement();

statement.execute(
"ALTER TABLE inject_importers alter column importer_mapper_id drop not null;");
Copy link
Member

Choose a reason for hiding this comment

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

The column name is different in SQL side and Java side

Copy link
Member

Choose a reason for hiding this comment

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

NOP, I misunderstood

@Dimfacion Dimfacion merged commit 51f58ec into master Jan 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a type representation in a mapper delete the injector contract
3 participants