Skip to content

Incorrect type returned from Users endpoint causes library to break #120

Open

Description

@erskingardner

Because of this change to the Users endpoint (to return multiple users when more than one user exists with the email address) the type returned by the API isn't of the correct type (currently it tries to use the User object) so the library breaks.

Activity

  1. jonbretman commented on Nov 18, 2019

    @jonbretman

    @erskingardner @jonnyom Are there any plans to make a version of this lib that is compatible with v1.4 of the API?

  2. jonnyom commented on Nov 20, 2019

    @jonnyom
    Contributor

    Hey @jonbretman thanks for reaching out.

    I'm afraid our contributors with Go expertise are a bit thin on the ground at the moment. Feel free to submit a PR to the SDK if you've the time though!

  3. ruzaikr commented on Dec 9, 2019

    @ruzaikr

    I'd like to try this out. Pls assign it to me :) @jonnyom

  4. jonnyom commented on Jan 2, 2020

    @jonnyom
    Contributor

    Absolutely @ruzaikr ! Sorry for the delay, I've been OOO 😄 let me know if we can help 👍

  5. catalogplus commented on Jul 7, 2022

    @catalogplus

    Hi,

    I'm trying to retrieve a user with an email, but when there isn't a user with the exact email, a list is returned by the API. This causes the SDK to return an empty User struct, which is not useful.
    I think the function should return a 404 error.

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions