Skip to content

issue-45 exop - #49

Open
the-red-paintings wants to merge 2 commits into
wemake-services:masterfrom
the-red-paintings:issue-45-exop
Open

issue-45 exop#49
the-red-paintings wants to merge 2 commits into
wemake-services:masterfrom
the-red-paintings:issue-45-exop

Conversation

@the-red-paintings

Copy link
Copy Markdown
Contributor

Checklist

  • This commits targets only one specific issue
  • Docs have been added or updated

Issues

Refs #45

@the-red-paintings

Copy link
Copy Markdown
Contributor Author

@sobolevn, please review

@sobolevn sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for you work! Can you please explain what has changed in the library?
And what are other solutions to fix the upgrade?

alias Kira.Repo

parameter(:issue_uid, type: :integer)
parameter(:project_uid, type: :integer, required: false)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we need all these params? What has changed in the library?


parameter(:issue_uid, type: :integer)
parameter(:project_uid, type: :integer, required: false)
parameter(:issue_uid, type: :integer, required: true)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only issue_uid is used directly. Other params are unused.

@bot_username "@kira-bot"

parameter(:note_text, type: :string)
parameter(:project_uid, type: :integer, required: false)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The same here. Why do we need al of them when we only use note_text?

@the-red-paintings

Copy link
Copy Markdown
Contributor Author

@the-red-paintings

the-red-paintings commented Jun 26, 2019

Copy link
Copy Markdown
Contributor Author

Since 1.3 exop had breaking changes for run/1 and now method only can access to variables defined in contract

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.

2 participants