-
Notifications
You must be signed in to change notification settings - Fork 100
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
Keys starting with an underscore are removed from the response #102
Comments
I think this behaviour is copied from Laravel. But this way odata keys starting with an underscore are removed :( |
Someone? |
This is an issue for me too - SAP S/4Hana Cloud API expands with underscore. So this library is currently not suitable for SAP Queries. Here is an example for typical SAP query |
@johanmolen, @itspoonmkohv yes, this is copied from Laravel Eloquent Model class. Confirming that there are no unintended consequences of removing this, but I think we'll be able to remove this to make it work. |
Perhaps laravel/framework#6630 helps? |
Is there a reason for removing keys which start with an underscore?
https://github.com/saintsystems/odata-client-php/blob/master/src/Entity.php#L701
Is there a way to override this behaviour?
The text was updated successfully, but these errors were encountered: