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

fix: changing the response types to keep consistency with Resend docs #109

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pedroimpulcetto
Copy link
Contributor

The idea here is to keep consistency with Resend Docs.


I tried to follow:

  • each .get method returns the object related
    resend.Audiences.get(..) -> Audience:
    resend.Contacts.get(..) -> Contact:

  • each .list method returns a list of "short" object related
    FYI: a short object is an object with fewer attributes than the object or
    ShortAudience ; ShortContact

  • the other methods, .create, .remove, etc return a "response" object
    resend.Domains.CreateResponse ; resend.Domains.VerifyResponse

@drish drish self-requested a review June 3, 2024 14:44
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.

None yet

1 participant