Skip to content

Commit

Permalink
proto: fix incorrect Identity JSON field names
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Jul 5, 2024
1 parent e5712a2 commit 01b5211
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions proto/authenticator.gen.go

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

2 changes: 2 additions & 0 deletions proto/authenticator.ridl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ struct Identity
- type: IdentityType
+ go.field.type = IdentityType
- issuer: string
+ json = iss
+ go.tag.json = iss,omitempty
- subject: string
+ json = sub
+ go.tag.json = sub,omitempty
- email: string
+ go.tag.json = email,omitempty
Expand Down
4 changes: 2 additions & 2 deletions proto/clients/authenticator.gen.go

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

8 changes: 4 additions & 4 deletions proto/clients/authenticator.gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// sequence-waas-authenticator v0.1.0 e8aad138ee445563629ba6dbc442650fb657f19a
// sequence-waas-authenticator v0.1.0 f3f859389b8e88ae4dfea36123a23b5938fd9c9d
// --
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
//
Expand All @@ -12,7 +12,7 @@ export const WebRPCVersion = "v1"
export const WebRPCSchemaVersion = "v0.1.0"

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = "e8aad138ee445563629ba6dbc442650fb657f19a"
export const WebRPCSchemaHash = "f3f859389b8e88ae4dfea36123a23b5938fd9c9d"

//
// Types
Expand Down Expand Up @@ -108,8 +108,8 @@ export interface Chain {

export interface Identity {
type: IdentityType
issuer: string
subject: string
iss: string
sub: string
email: string
}

Expand Down

0 comments on commit 01b5211

Please sign in to comment.