Comments (6)
So there's two places where this is done, once at the bottom of list.js, but then again, with no attempt at qualification, at the bottom of has-many. I've remarked both out pending thought on how to configure, but do we need both of these ?.
from epilogue.
@mark-lester hey, it would be helpful if you could link to the code you're referring to in the comments to help me track through this with you. Are you referring to this here? It does indeed look like that is double effort. If you pull it out does it break any tests? I'd say go ahead and remove it otherwise
A little bit of a caveat emptor here: the auto association code was based on an original punt I was working on when I still needed this module for a larger project. It was then completed by another user in collaboration wit me, but it is certainly missing functionality.
As far as the initial question, the primary keys should not be stripped by default, though you may have discovered why they are in your case here already.
from epilogue.
yes thats the line, I thought it was also going on here https://github.com/dchester/epilogue/blob/master/lib/Controllers/list.js#L141 but I dont have any includes of course, so that wasnt getting called anyway.
from epilogue.
@mark-lester should be fixed in 8d31e62, would appreciate if you could check that out
from epilogue.
@mbroadst many thanks indeed, I will test first thing in the morning.
from epilogue.
yes that worked for me many thanks.
from epilogue.
Related Issues (20)
- Support to check if Postgres array contains string?
- create inserts nulls on postgres db? HOT 1
- Workflow for pull requests? HOT 2
- Typescript support? HOT 4
- AResouce.list.data.after is not called if AResouce.list.data is not presented
- Controller List is not applying attributes of Model Scope as specified in req.query.scope HOT 1
- search by parameter 'q' does not work HOT 12
- Order of associations HOT 1
- repo unmaintained! active fork: https://github.com/tommybananas/finale HOT 4
- How to add another options item while creating an model instance?
- app[self.method] is not a function
- [Read Endpoint] Get data from two models HOT 1
- Filtering/sorting by association fields
- Project status HOT 1
- EpilogueError: internal error HOT 1
- Sorting ignored with hasMany relationships
- How to define all API routes to be in a separate group
- How do I add auth to all actions of a Resource? HOT 1
- How can I assign fetching items to POST request?
- Cannot set headers after they are sent to the client HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epilogue.