Skip to content

Audit public API to take arguments by reference where possible before v1.0 release #402

Closed

Description

@spacebear21

Don't consume values unless there is a reason for doing so. Make sure that arguments which take ownership of a value do so intentionally.

Search for .clone() in integration tests...

Activity

  1. added this to the payjoin-1.0 milestone on Jan 3, 2025
  2. benalleng commented on Jan 8, 2025

    @benalleng
    Collaborator

    I will try my hand at this, a lot of these issues look like they are some good practice on rust fundamentals on when and where to use references, Copy traits and whatnot

  3. DanGould commented on Jan 8, 2025

    @DanGould
    Member

    @benalleng please pick up from #405 if you're up for it. Lots of small PRs will let us crank forward progress on this one. I'm not tied to getting #405 in myself, it was really a way for us to enumerate problems where we saw them when we were in person

  4. added
    good first issue
    on Jan 21, 2025
  5. bc1cindy commented on Aug 15, 2025

    @bc1cindy
    Contributor

    Hey @DanGould @spacebear21 I'd like to work on this issue

  6. spacebear21 commented on Aug 21, 2025

    @spacebear21
    CollaboratorAuthor

    This got auto-closed by #982 but I guess the issue should still be open

  7. changed the title [-]Take arguments by reference where possible[/-] [+]Audit API to take arguments by reference where possible before v1.0 release[/+] on Aug 21, 2025
  8. changed the title [-]Audit API to take arguments by reference where possible before v1.0 release[/-] [+]Audit V1 API to take arguments by reference where possible[/+] on Aug 21, 2025
  9. changed the title [-]Audit V1 API to take arguments by reference where possible[/-] [+]Audit API to take arguments by reference where possible before v1.0 release[/+] on Aug 21, 2025
  10. spacebear21 commented on Aug 21, 2025

    @spacebear21
    CollaboratorAuthor

    Renamed to narrow the scope of this issue.

  11. arminsabouri commented on Sep 8, 2025

    @arminsabouri
    Contributor

    Right before we release we should audit and check if we are taking refrences when we can.

  12. added and removed
    good first issue
    on Sep 8, 2025
  13. changed the title [-]Audit API to take arguments by reference where possible before v1.0 release[/-] [+]Audit public API to take arguments by reference where possible before v1.0 release[/+] on Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions