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

[92] Create Record with BSON Type Information #95

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

irushavm
Copy link

Description

Currently, ObjectID type information is lost when sending JSON over from the client to the server. This change adds BSON support that can be used to transfer type information alongside the data.

Related Issue

#92

Motivation and Context

How Has This Been Tested?

Tested the Vendor Creation flow and verified that the listing of Vendors work as-is. However, more tests are needed here.

Screenshots (if appropriate):

oaedward
oaedward previously approved these changes Sep 23, 2023
@oaedward
Copy link
Contributor

oaedward commented Oct 8, 2023

Align schema with DB Schema Docs

@irushavm
Copy link
Author

@oaedward I agree that the schema here should be aligned with the DB schema docs. However, I think it's best to put that in as a separate PR since this PR is meant to be a non-functional change. Once this PR is in, we can add another PR to align the current schema.

Thoughts?

cc @akshaypuli

Currently, ObjectID type information is lost when sending JSON over from
the client to the server. This change adds BSON support that can be used
to transfer type information alongside the data.
@irushavm irushavm force-pushed the feature/92/store-ids-as-objectid branch from c1b5688 to 8e718bf Compare October 15, 2023 02:49
@oaedward
Copy link
Contributor

I totally agree.
I think it was meant to be an issue not just a comment

@akshaypuli akshaypuli merged commit d3e095f into develop Oct 15, 2023
@akshaypuli akshaypuli deleted the feature/92/store-ids-as-objectid branch October 15, 2023 15:47
akshaypuli added a commit that referenced this pull request Oct 15, 2023
* [96] Add Department Record Creation (#97)

* [96] Add Department Record Creation

Add backend support to create Department records

* Refactor CREATE_RECORDS to use a list of supported collections

* [92] Create Record with BSON Type Information (#95)

* [92] Create Record with BSON Type Information

Currently, ObjectID type information is lost when sending JSON over from
the client to the server. This change adds BSON support that can be used
to transfer type information alongside the data.

* Added unit test that can be run with "npm run test"

* [98]Feature/align-ui-with-Figma (#99)

* align design with figma

* align with figma design

* purchase details aligned with figma

* Department Collection Created

* Comment out Purchase Details

---------

Co-authored-by: Akshay <akshaypuli@outlook.com>

* [100] Site Dashboard Overview (#101)

* align design with figma

* align with figma design

* purchase details aligned with figma

* Department Collection Created

* Comment out Purchase Details

* Dashboard overview page created

* update css global styles

* convert UI-Landing to Dashboard directory

* dashboard-model view designed

* dashboard interface designed

* re-align detail page

* Align record with db schema

---------

Co-authored-by: Akshay <akshaypuli@outlook.com>

---------

Co-authored-by: Irusha Vidanamadura <irushavm@users.noreply.github.com>
Co-authored-by: Edward Opoku-Agyemang <87245788+oaedward@users.noreply.github.com>
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.

3 participants