Skip to content

Commit

Permalink
Add Limits to GraphQL nav data
Browse files Browse the repository at this point in the history
so it does not get deleted every time we run scripts/generate_graphql_api_content.rb
  • Loading branch information
JuanitoFatas committed Jul 3, 2023
1 parent d66c7b3 commit 9d33c78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/graphql_api_content/nav_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ def generate_graphql_nav_data(type_sets)
"name" => "Cookbook",
"path" => "apis/graphql/graphql-cookbook"
},
{
"name" => "Limits",
"path" => "apis/graphql/graphql-resource-limits"
},
{
"name" => "Queries",
"children" => convert_to_nav_items(type_sets["query_types"], "query")
Expand Down
4 changes: 4 additions & 0 deletions spec/scripts/graphql_api_content/nav_data_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@
"name" => "Cookbook",
"path" => "apis/graphql/graphql-cookbook"
},
{
"name" => "Limits",
"path" => "apis/graphql/graphql-resource-limits"
},
{
"name" => "Queries",
"children" => [
Expand Down

0 comments on commit 9d33c78

Please sign in to comment.