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

Repository with multiple apps #67

Open
CriticalMax opened this issue Oct 23, 2023 · 2 comments
Open

Repository with multiple apps #67

CriticalMax opened this issue Oct 23, 2023 · 2 comments

Comments

@CriticalMax
Copy link

Hey Vjeko,
we have multiple apps, most of them have a dependency on the biggest one.
When I create an .al file using one object type and retrieve an id in app A and then create a new .al file using the same object type in a different app using a .objidconfig with the same id range your extension will possibly retrieve the same id. The AL extension will give an error saying the object number is used already but your extension will "accept" the number with no further warning.
Problem is that app A will compile but app B (which has a dependency on app A) won't.
Are we meant to separate our id ranges by app? Or are you going to add a feature that cross-checks all id's using the same object type within all apps in the future? Or are we plainly using the extension in a wrong way?
We would very much like to use your extension as it would make our life significantly easier.

@petterssonmv
Copy link

Hi Vjeko,
I'm running a team of 6 developers for a BC14 project with 20 apps with dependencies. The lack of Cross App numbering prevents us from using AL-object ID Ninja. We simply cannot allocate fixed object id ranges to every app.
Please consider implementing Cross App Numbering within a Project.

@CriticalMax
Copy link
Author

Hey @petterssonmv , look into the app pool feature. It's not really documented by vjeko but you will find a .md in this repo which should help you.
In short, we created an app pool for all of our apps, used the same id range in the .objidconfig and that was pretty much the perfect solution for us.
Hope this helps!

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

No branches or pull requests

2 participants