Skip to content

Commit

Permalink
Default more Boolean[1] to false in Protocols (finos#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredebelen authored Sep 27, 2024
1 parent 97e1de8 commit d8677d3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Class meta::external::format::flatdata::metamodel::FlatDataRecordField

Class meta::external::format::flatdata::metamodel::FlatDataDataType
{
optional: Boolean[1];
optional: Boolean[1] = false;
}

Class meta::external::format::flatdata::metamodel::FlatDataString extends FlatDataDataType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Class meta::external::query::graphQL::metamodel::introspection::__Field
description : String[0..1];
args : meta::external::query::graphQL::metamodel::introspection::__InputValue[*];
type : meta::external::query::graphQL::metamodel::introspection::__Type[1];
isDeprecated : Boolean[1];
isDeprecated : Boolean[1] = false;
deprecationReason : String[0..1];
}

Expand All @@ -60,7 +60,7 @@ Class meta::external::query::graphQL::metamodel::introspection::__EnumValue
{
name : String[1];
description : String[0..1];
isDeprecated : Boolean[1];
isDeprecated : Boolean[1] = false;
deprecationReason : String[0..1];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Class meta::external::query::graphQL::metamodel::sdl::typeSystem::Type extends m

Class meta::external::query::graphQL::metamodel::sdl::typeSystem::TypeReference
{
nullable: Boolean[1];
nullable: Boolean[1] = false;
}

Class meta::external::query::graphQL::metamodel::sdl::typeSystem::ListTypeReference extends meta::external::query::graphQL::metamodel::sdl::typeSystem::TypeReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Class meta::external::store::mongodb::metamodel::mapping::MongoDBClassMapping
{
id: String[1];
class: String[1];
root: Boolean[1];
distinct: Boolean[1];
root: Boolean[1] = false;
distinct: Boolean[1] = false;
propertyMappings: MongoDBPropertyMapping[*];
mainCollection: Collection[1];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Class meta::external::query::sql::metamodel::LikePredicate extends meta::externa
<<equality.Key>> value: meta::external::query::sql::metamodel::Expression[1];
<<equality.Key>> pattern: meta::external::query::sql::metamodel::Expression[1];
<<equality.Key>> escape: meta::external::query::sql::metamodel::Expression[0..1];
<<equality.Key>> ignoreCase: Boolean[1];
<<equality.Key>> ignoreCase: Boolean[1] = false;
}

Class meta::external::query::sql::metamodel::SortItem extends meta::external::query::sql::metamodel::Node
Expand Down

0 comments on commit d8677d3

Please sign in to comment.