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

[wip] Template refactor #281

Merged
merged 35 commits into from
Jul 7, 2022
Merged

[wip] Template refactor #281

merged 35 commits into from
Jul 7, 2022

Conversation

mrsmkl
Copy link
Contributor

@mrsmkl mrsmkl commented Jun 16, 2022

Description

Doing some refactoring. Main ideas:

  • Less copy pasta
  • More flexibility

Details

  • stop using [string, string] for seed / actual id
  • move some stuff to conditions (generate condition based on DDO etc.)
  • agreement template implementations should become much smaller
  • TODO: fulfilling based on condition instance data
  • TODO: check if there's some way to use typescript better

Is this PR related with an open issue?

Related to Issue #285

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Follows the code style of this project.
  • Tests Cover Changes
  • Documentation

Funny gif

Put a link of a funny gif inside the parenthesis-->

@mrsmkl mrsmkl requested review from a team as code owners June 16, 2022 14:10
@mrsmkl mrsmkl changed the title Template refactor [wip] Template refactor Jun 16, 2022
Copy link
Member

@r-marques r-marques left a comment

Choose a reason for hiding this comment

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

lgtm

@aaitor aaitor linked an issue Jul 7, 2022 that may be closed by this pull request
@r-marques r-marques merged commit 4b9a002 into master Jul 7, 2022
@r-marques r-marques deleted the feat/template-refactor branch July 7, 2022 12:25
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.

Refactor how to manage templates in the sdk-js
2 participants