cambiatus / backend

Cambiatus GraphQL API
GNU Affero General Public License v3.0
20 stars 18 forks source link

Add non-null constraint to community logo #279

Closed MatheusBuss closed 2 years ago

MatheusBuss commented 2 years ago

We had a problem with https://github.com/cambiatus/frontend/pull/805, where the GraphQl schema does not accept null values for communities logos, but our SQL database does.

There are tow options:

OR

MatheusBuss commented 2 years ago

Based on our conversation we'll update the GraphQl schema so that the logo field is nullable. On the fronted we'll have null values replaced with a placeholder image.