Closed pulkitsinghal closed 9 years ago
store-config-model.json
:
"idInjection": false,
"properties": {
"objectId": {
"type": "string",
"id": true,
"generated": true
},
Added unit tests for string IDs and they work: https://github.com/strongloop-community/loopback-connector-elastic-search/commit/5fc90e2e7bcfcb7053b10154f33ef010038a2e9d
So then the problem I have when I try to use this module, must be on the angular side? Is there a known bug around this in angular @raymondfeng?
I could expose the feature branch where I try to use the es connector but there are a few configuration files that need to be setup, if anyone wants to leverage my existing angular project to see this problem in action, they would have to coordinate with me over gitter a bit...
@raymondfeng - any quick comments on this one? I'll try to reproduce it again and report back soon.
After testing, I believe this may have been inadvertently fixed alongside issue #3 ... the test I ran is manual end-to-end test on a project where I use esConnector, so I apologize that there isn't a unit test in-place for it.
For an API URL call like:
http://localhost:3000/api/StoreConfigModels/XjEuI-pbRKWeSNFNxJRQsA
the id isn't passed through to the update attributes method and it fails: