vjekob / al-objid

Manage object IDs in multi-user environments with mind-boggling simplicity.
MIT License
29 stars 18 forks source link

Repository with multiple apps #67

Open CriticalMax opened 8 months ago

CriticalMax commented 8 months ago

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 commented 6 months ago

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 commented 6 months ago

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!