Skip to content

Track preview_url can be null #1

Description

@johnelse

This can be handled by using the nullable atdgen type.

Repro:

utop # Spotify_web_api.Search.search_tracks "imagine dragons radioactive";;
Exception:                                                                                                             
Yojson.Json_error "Line 846, bytes 24-56:\nExpected '\"' but found 'null,\n      \"track_number\" : 1,\n  '".

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions