Bump gqlgen in API to the latest version and regenerate the code (#1147)

Co-authored-by: Konstantin Koval
This commit is contained in:
Kostiantyn
2024-12-30 17:17:06 +02:00
committed by GitHub
parent f88fcaba69
commit 9835c1949d
17 changed files with 486 additions and 486 deletions

View File

@@ -158,7 +158,7 @@ func (e LanguageTranslation) String() string {
return string(e)
}
func (e *LanguageTranslation) UnmarshalGQL(v interface{}) error {
func (e *LanguageTranslation) UnmarshalGQL(v any) error {
str, ok := v.(string)
if !ok {
return fmt.Errorf("enums must be strings")
@@ -205,7 +205,7 @@ func (e NotificationType) String() string {
return string(e)
}
func (e *NotificationType) UnmarshalGQL(v interface{}) error {
func (e *NotificationType) UnmarshalGQL(v any) error {
str, ok := v.(string)
if !ok {
return fmt.Errorf("enums must be strings")
@@ -249,7 +249,7 @@ func (e OrderDirection) String() string {
return string(e)
}
func (e *OrderDirection) UnmarshalGQL(v interface{}) error {
func (e *OrderDirection) UnmarshalGQL(v any) error {
str, ok := v.(string)
if !ok {
return fmt.Errorf("enums must be strings")
@@ -299,7 +299,7 @@ func (e ThumbnailFilter) String() string {
return string(e)
}
func (e *ThumbnailFilter) UnmarshalGQL(v interface{}) error {
func (e *ThumbnailFilter) UnmarshalGQL(v any) error {
str, ok := v.(string)
if !ok {
return fmt.Errorf("enums must be strings")