Skip to content

mf: set_scope should set absoulte id (without repository base name)#87

Merged
da-h merged 1 commit intomasterfrom
set_scope_fix_global_ids
Nov 11, 2021
Merged

mf: set_scope should set absoulte id (without repository base name)#87
da-h merged 1 commit intomasterfrom
set_scope_fix_global_ids

Conversation

@da-h
Copy link
Copy Markdown
Owner

@da-h da-h commented Nov 11, 2021

Fix set_scope cannot set global id.

Api-Change: This MR reenables set_scope to define the global id of a module.

Previously, mf.set_scope(name) would prefix the name with the module repository id the module is defined in.
It was not possible to adapt the scope of another repository.
After this MR, any module can share the scope with any other module.

(Related to #79)

@da-h da-h added this to the v2.1 milestone Nov 11, 2021
@da-h da-h linked an issue Nov 11, 2021 that may be closed by this pull request
@da-h da-h force-pushed the set_scope_fix_global_ids branch from e98dc98 to bed31a1 Compare November 11, 2021 12:30
@da-h da-h merged commit 305a121 into master Nov 11, 2021
github-actions Bot pushed a commit that referenced this pull request Nov 11, 2021
mf: set_scope should set absoulte id (without repository base name)
@da-h da-h deleted the set_scope_fix_global_ids branch November 11, 2021 17:09
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.

"set-scope()" behavior modified

1 participant