Skip to content

Commit

Permalink
Better deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
UnAfraid committed Oct 22, 2023
1 parent 44a69f6 commit 1b7baa4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/api/internal/resolver/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion schema/server/create_server_input.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ input CreateServerInput {
description: String
enabled: Boolean
privateKey: String
publicKey: String @deprecated(reason: "removed, the public key can be derived from private key")
publicKey: String @deprecated(reason: "No longer supported, the public key will be derived from private key")
listenPort: Int
firewallMark: Int
address: String!
Expand Down
2 changes: 1 addition & 1 deletion schema/server/update_server_input.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ input UpdateServerInput {
id: ID!
description: String
enabled: Boolean
publicKey: String @deprecated(reason: "removed, the public key can be derived from private key")
publicKey: String @deprecated(reason: "No longer supported, the public key will be derived from private key")
privateKey: String
listenPort: Int
firewallMark: Int
Expand Down

0 comments on commit 1b7baa4

Please sign in to comment.