Skip to content

Commit a396fef

Browse files
committed
Notes on README (new TODO)
1 parent da58ffb commit a396fef

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A very simple example:
4040

4141
```php
4242

43-
// This facade is auto-discoverec for Laravel 5.6+
43+
// This facade is auto-discovered for Laravel 5.6+
4444

4545
use OdooApi;
4646

@@ -82,6 +82,13 @@ certificate to add, then yiu can get the client instance using:
8282

8383
where `$type` will typically be 'db', 'common' or 'object'.
8484

85+
You have the ability to construct your own messages from scratch like this,
86+
and there are helper methods in the `$client` to convert native PHP data types
87+
to and from XML RPC value objects.
88+
However, you should be able to leave all that conversion to be handled in the
89+
background by the client - just give it array/string/in/etc. data and get
90+
models and arrays back.
91+
8592
# Query methods
8693

8794
The following methods are supported and will return a collection:
@@ -143,3 +150,9 @@ $response = $client->write(
143150
]
144151
);
145152
```
153+
154+
# TODO
155+
156+
* Conversion of date types has not been tested.
157+
Ideally we would support Carbon 2 for sending dates in and getting
158+
dates back out again.

0 commit comments

Comments
 (0)