-
Notifications
You must be signed in to change notification settings - Fork 22
Clean up handling of $schema #4
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
Comments
I'll be working on this with the Salesforce plugin. Right now I am able to pass simple SOQL queries by using some of the Core query building methods. I am using table, and plan to add schema functionality. |
Return of an associative array for OAuthCredentials
Currently the datasource will use any schema declared using a $schema variable in the model. It's only really useful for saving data, I think. The CakePHP API documentation will have you believe that you can set $_schema in your models, but for some reason it sets this to null when saving. I'm not really sure if the current behavior is sufficient to close this issue. Please clarify desired functionality. |
This is just something I planned to look into further because I wasn't sure what it provides and what we lose by leaving it out. @imsamurai had the solution of providing keys from the config map which I liked, but it may not be relevant or necessary. |
Refer to this code as potential reference material: https://github.com/imsamurai/cakephp-httpsource-datasource/blob/master/Lib/Config/HttpSourceConfig.php#L176-L209 |
Right now I'm not really providing the object modeler with anything useful for $schema and $table related methods. I am curious what I'm losing by doing this (perhaps form field introspection) and if I should try and provide a way to support this?
The text was updated successfully, but these errors were encountered: