Skip to content

Commit

Permalink
Rename the deprecated field
Browse files Browse the repository at this point in the history
  • Loading branch information
DimuthuMadushan committed Feb 9, 2024
1 parent 7a9db6a commit da67566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/graphql-directives/graphql_directives.bal
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ service /graphql on new graphql:Listener(9090) {

// Marks a field as deprecated.
# # Deprecated
# The `profileeeeeee` field is deprecated. Use `profile` instead.
# The `profileInfo` field is deprecated. Use `profile` instead.
@deprecated
resource function get profileeeeeee() returns Profile {
resource function get profileInfo() returns Profile {
return {
name: "Walter White",
age: 51,
Expand Down

0 comments on commit da67566

Please sign in to comment.