Skip to content

Allow GraphQL UserType avatar_url to be nullable

What does this MR do?

This MR changes the GraphQL UserType#avatar_url field to be nullable.

In the situation where a user has no avatar, and Gravatar is disabled, User#avatar_url can be nil.

Breaking change to UserType#avatar_url

This change constitutes a breaking change to our GraphQL API.

Conversation was raised in #f_graphql (internal, good for 90 days) about the options. See !25491 (comment 294070979) and !25491 (comment 294090173) for the rationale of why we will make this change.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports