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

feat(map): add property based flag #728

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

jonathan-casey
Copy link
Member

@jonathan-casey jonathan-casey commented Oct 9, 2023

Description

Add property based flag to ModelManager options as an alternative to setting process.env ENABLE_MAP_TYPE='true'.

This change is temporary and will be removed on full release of Map Type.

Usage

modelManager = new ModelManager({enableMapType: true});

@jonathan-casey jonathan-casey requested a review from a team October 9, 2023 13:56
Copy link
Member

@DianaLease DianaLease left a comment

Choose a reason for hiding this comment

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

typo in test description. otherwise looks good!

}
});

it('should not throw if Map Type not enabled in ModelManager options', () => {
Copy link
Member

Choose a reason for hiding this comment

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

'should not throw if Map Type not is enabled in ModelManager options'

Copy link
Member Author

@jonathan-casey jonathan-casey Oct 9, 2023

Choose a reason for hiding this comment

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

Thanks for spotting @DianaLease, typo is corrected. Can you unblock the PR please?

Signed-off-by: Jonathan Casey <[email protected]>
@jonathan-casey jonathan-casey merged commit e067cc3 into main Oct 9, 2023
11 checks passed
@jonathan-casey jonathan-casey deleted the jonathan/property_based_flag_mm_options branch October 9, 2023 17:06
ekarademir pushed a commit to ekarademir/concerto that referenced this pull request Oct 10, 2023
* feat(map): add property based flag

Signed-off-by: Jonathan Casey <[email protected]>

* fix typo

Signed-off-by: Jonathan Casey <[email protected]>

---------

Signed-off-by: Jonathan Casey <[email protected]>
Signed-off-by: Ertugrul Karademir <[email protected]>
mttrbrts pushed a commit that referenced this pull request Oct 20, 2023
* feat(decoratormanager) add validate method (#726)

* feat(decoratormanager) add validate method

Signed-off-by: Ertugrul Karademir <[email protected]>

* Add a builder for the config

Signed-off-by: Ertugrul Karademir <[email protected]>

* feat(map): add property based flag (#728)

* feat(map): add property based flag

Signed-off-by: Jonathan Casey <[email protected]>

* fix typo

Signed-off-by: Jonathan Casey <[email protected]>

---------

Signed-off-by: Jonathan Casey <[email protected]>
Signed-off-by: Ertugrul Karademir <[email protected]>

* Jonathan/add options jsdoc (#729)

* feat(map): add jsdoc for enableMapType option

Signed-off-by: Jonathan Casey <[email protected]>

* chore(*): update changelog

Signed-off-by: Jonathan Casey <[email protected]>

---------

Signed-off-by: Jonathan Casey <[email protected]>
Signed-off-by: Ertugrul Karademir <[email protected]>

* Lint and test

Signed-off-by: Ertugrul Karademir <[email protected]>

* Signing off

Signed-off-by: Ertugrul Karademir <[email protected]>

* Renaming a method

Signed-off-by: Ertugrul Karademir <[email protected]>

* Fix comment alignments

Signed-off-by: Ertugrul Karademir <[email protected]>

* Clone instead of copy

Signed-off-by: Ertugrul Karademir <[email protected]>

* Export builder with the main package

Signed-off-by: Ertugrul Karademir <[email protected]>

* Typo fixes

Signed-off-by: Ertugrul Karademir <[email protected]>

* Complete builder pattern

Signed-off-by: Ertugrul Karademir <[email protected]>

---------

Signed-off-by: Ertugrul Karademir <[email protected]>
Signed-off-by: Jonathan Casey <[email protected]>
Co-authored-by: Dan Selman <[email protected]>
Co-authored-by: Jonathan-Casey <[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