Skip to content

Commit

Permalink
feat: Changed DID type from ID to String
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Apr 15, 2020
1 parent dd624c2 commit 55ccdd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/daf-core/src/graphql/graphql-base-type-defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const baseTypeDefs = `
type Mutation
type Identity {
did: ID!
did: String!
provider: String
}
Expand Down
2 changes: 1 addition & 1 deletion packages/daf-core/src/graphql/graphql-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export const typeDefs = `
extend type Query {
identity(did: ID!): Identity
identity(did: String!): Identity
identities(input: IdentitiesInput): [Identity]
message(id: ID!): Message
messages(input: MessagesInput): [Message]
Expand Down
2 changes: 1 addition & 1 deletion packages/daf-selective-disclosure/src/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const typeDefs = `
}
extend type Message {
sdr(did: ID): [CredentialRequest]
sdr(did: String): [CredentialRequest]
}
extend type Mutation {
Expand Down

0 comments on commit 55ccdd4

Please sign in to comment.