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

Generation of proxy classes fails if they are prefixed with a namespace alias in metadata file. #29

Open
mziyabo opened this issue Aug 11, 2016 · 1 comment

Comments

@mziyabo
Copy link

mziyabo commented Aug 11, 2016

Using the attached metadata file from a Microsoft Dynamics CRM instance where the namespace alias is mscrm. If a class is appended with this alias it will not be populated into the schemainfo m_class_vec container which will ultimately trigger an Access Violation exception when attempting to generate the proxy code.

To reproduce the error and get the actual exception location run the code gen tool from VS with the attached metadata file.

ODataV4Metadata.zip

@PBRCW
Copy link

PBRCW commented Jan 20, 2021

Aliases are not supported by the master. I have however implemented Aliases in my fork, maybe you want to try that? You can clone it from here:
https://github.com/PBRCW/odatacpp-client

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