Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an extra layer of custom data model on top of api response #21

Conversation

ArunRajasekhar84
Copy link
Collaborator

Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.

ArunRajasekhar84 and others added 2 commits June 5, 2024 15:33
Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.
@josmilan josmilan merged commit 922a818 into decentralised-dataexchange:main Jun 5, 2024
1 check passed
georgepadayatti pushed a commit that referenced this pull request Jun 21, 2024
* Fix #12: Test case for resolving credential and discovery phase

* Fix #7: Change swift-tool-version support to 5.7

* Fix #10: Make shared instances public accessible

* Fix #17: Update in SDK models and VerificationService class

* Fix #19: Support verification QR code by reference

* Fix #19: Make PresentationDefinition model to be compatible with String as well.

* #Fix: Make PresentationRequest model variables public

* Added an extra layer of custom data model on top of api response (#21)

Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.

Co-authored-by: Josep Milan K.A <[email protected]>

* Fix : Modified credential offer data models

* Added an extra layer of custom data model on top of api response

Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.

* Modified the credential offer models

Modified credential offer json response models and data models to dynamically respond to credentials received as string arrays and object arrays.

---------

Co-authored-by: Josep Milan K.A <[email protected]>

* restructuring interfaces

* Added an extra layer of custom data model on top of api response

Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.

* Modified the credential offer models

Modified credential offer json response models and data models to dynamically respond to credentials received as string arrays and object arrays.

---------

Co-authored-by: Josep Milan K.A <[email protected]>

* Update to IssuerWellKnownConfiguration Model

* Added an extra layer of custom data model on top of api response

Added custom models for capturing data received from api json so that any changes to api data has least impact at consuming end. Also this makes it easier to format or introduce validation to received data.

* Modified the credential offer models

Modified credential offer json response models and data models to dynamically respond to credentials received as string arrays and object arrays.

* Changes to IssuerWellKnownConfiguration

The data models changed to support new and old formats for issuer config in Issuance flow

---------

Co-authored-by: Josep Milan K.A <[email protected]>

* Fix: Updated Error model name to remove conflict

* Fix: Data model updated for authorisation config

* Fix: Updated functions to fetch types, format and cryptographic suits from issuer config

* Fix: made some models public and added response_uri in presentation definition

* Bug fixes for Issuance and Verification flow

The bug related to issuance auth flow has been fixed

---------

Co-authored-by: Mumthasir-vp <[email protected]>
Co-authored-by: Josep Milan K.A <[email protected]>
Co-authored-by: Josep Milan K.A <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants