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

23562 (2 step continuation in filing) before and after approval of authorization documents #169

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

vysakh-menon-aot
Copy link
Collaborator

Issue #: /bcgov/entity#23562

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-schemas license (Apache 2.0).

"properties": {
"isApproved": {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting this value to True will be handled from legal-api (before validating filing json)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the UI will need to read this from a draft and then save it upon filing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. UI doesn't need to provide this at any stage. Even if UI provides it will be overwritten by legal-api based on the filing status

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to just have a duplicate of the filing status here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, so Legal API will set this before validating the schema?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it have to be a declared property in this schema? I thought our schemas allowed additional properties without checks.

Copy link
Collaborator Author

@vysakh-menon-aot vysakh-menon-aot Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you can see from line no. 13 to 39 we have an "if -> then -> else", which is based on this field. Conditional Required based on isApproved value

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Then this is fine by me.

@vysakh-menon-aot vysakh-menon-aot merged commit 57a116d into bcgov:main Oct 2, 2024
1 check passed
@vysakh-menon-aot vysakh-menon-aot deleted the feature/23562 branch October 2, 2024 16:29
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