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

Connection_Record1ObjectTypeCode is missing in optionsets.cs since version V2.2023.12.22 #483

Open
Dayonel opened this issue Jan 30, 2024 · 5 comments
Labels

Comments

@Dayonel
Copy link

Dayonel commented Jan 30, 2024

Tool and Version
EarlyBoundGenerator V2.2024.1.23

Describe the bug
When generating entities that have Connection & ConnectionRole involved, this part of code is missing: Connection_Record1ObjectTypeCode in optionsets.cs so it does not compile.

To Reproduce
Steps to reproduce the behavior:

  1. Use version V2.2023.12.22 or superior
  2. Click on 'Generate'
  3. This part of code is missing

image

Downgrade to version V2.2023.12.21 or lower.

Expected behavior
The optionset is generated

Screenshots
This change has broken it
image

@Dayonel Dayonel added the bug label Jan 30, 2024
@daryllabar
Copy link
Owner

Is it not compiling because you are referencing it in you code, or is it not compiling because the EBG is still creating the typed record1objecttypecode property?

The intention was to remove it because it was causing lots of noisy diffs, and it is bad practice to use it, since you can't easily control the value in the environment, allowing production to be different than a dev environment, which would cause errors at run time.

@Dayonel
Copy link
Author

Dayonel commented Jan 30, 2024

Is not compiling because the entity Connection is referencing it automatically.

public partial class Connection {
   ...
   public virtual Connection_Record1ObjectTypeCode? Record1ObjectTypeCode {...}
}

@daryllabar
Copy link
Owner

@schwoi
Copy link

schwoi commented Jun 4, 2024

@daryllabar is there a secure way to share the metadata with you?
We are still recieving this issue

@daryllabar
Copy link
Owner

There shouldn't be anything secretive in the settings, but you can feel free to send a link to me vial my email Daryl at Gap Integrity dot com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants