Skip to content

Conversation

@brandur
Copy link
Contributor

@brandur brandur commented Jul 5, 2024

  • Rename Args to JobArgs for better consistency with other River
    projects.

  • Use a protocol (JobArgsWithInsertOpts) for the check on an args for
    insert_opts() support. (Feels a little more type friendly and also
    how other River projects do it.)

  • Add tests that verify that insert opts are respected correctly and
    various ones that check errors that are returned on invalid insert
    conditions.

@brandur brandur force-pushed the brandur-insert-opts-tests branch 2 times, most recently from 09f18e3 to 42b6711 Compare July 5, 2024 05:04
* Rename `Args` to `JobArgs` for better consistency with other River
  projects.

* Use a protocol (`JobArgsWithInsertOpts`) for the check on an args for
  `insert_opts()` support. (Feels a little more type friendly and also
  how other River projects do it.)

* Add tests that verify that insert opts are respected correctly and
  various ones that check errors that are returned on invalid insert
  conditions.
@brandur brandur force-pushed the brandur-insert-opts-tests branch from 42b6711 to fcf8121 Compare July 5, 2024 05:05
@brandur brandur merged commit f9095c0 into master Jul 5, 2024
@brandur brandur deleted the brandur-insert-opts-tests branch July 5, 2024 05:07
brandur added a commit that referenced this pull request Jul 5, 2024
Prepare release 0.2.0, which largely just includes a rename of `Args` to
`JobArgs`, a new `JobArgsWithInsertOpts` protocol for slightly nicer
typing, and a few more tests [1].

[1] #20
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