File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
soil_id/graphql/soil_metadata Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ repos:
1212 pass_filenames : false
1313
1414- repo : https://gitlab.com/vojko.pribudic.foss/pre-commit-update
15- rev : v0.8 .0
15+ rev : v0.9 .0
1616 hooks :
1717 - id : pre-commit-update
1818
1919- repo : https://github.com/astral-sh/ruff-pre-commit
20- rev : v0.14.2
20+ rev : v0.14.4
2121 hooks :
2222 - id : ruff-check
2323 args : [--fix]
Original file line number Diff line number Diff line change @@ -1564,7 +1564,7 @@ enum SoilIdDepthDependentSoilDataCarbonatesChoices {
15641564
15651565type SoilMetadataNode {
15661566 site : SiteNode !
1567- userRatings : [UserRatingEntry ]!
1567+ userRatings : [UserRatingEntry ! ]!
15681568 selectedSoilId : String
15691569}
15701570
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class SoilMetadataNode(DjangoObjectType):
3737 selected_soil_id = graphene .String ()
3838
3939 # New field: expose user_ratings as a list
40- user_ratings = graphene .List (UserRatingEntry , required = True )
40+ user_ratings = graphene .List (graphene . NonNull ( UserRatingEntry ) , required = True )
4141
4242 class Meta :
4343 model = SoilMetadata
You can’t perform that action at this time.
0 commit comments