-
Notifications
You must be signed in to change notification settings - Fork 3
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
querying for subject #20
Comments
Yeah that needs to be either mapped, or maybe we should return something flat instead of an object on the API? |
I think that our mapping function in the apis should recognize links and allow requests by them. |
I think that all objects should have a unique identifier and then allow queries to filter by a nested object's UID. Example: The course CMPE 324 has a property The same idea could apply to courses by instructor(s) or any other nested object |
Objects do have a unique ID right now. At the moment, the unique The unique identifier right now is not intended to be directly related to I believe that the query should look as follows under the current system: On Mon, Jan 13, 2014 at 12:56 PM, Graham42 [email protected] wrote:
|
So the link is really two parts, a type and a unique identifier The query you suggest does not seem like a clean solution at all. |
I agree that it doesn't look clean, but it does make sense, to an On 1/13/14, Graham42 [email protected] wrote:
|
When filtering on subjects, can we not just assume that the parameter is going to be a subject? That way, when entering: In the same way, |
There is currently no way to query the api such that it returns all courses within a specific subject, this is because the link property for the subject is contained within a dictionary, thus the dumb query cannot see it.
This means that the front end considers every course to be in every subject. For some reason I feel like that could cause problems.
The text was updated successfully, but these errors were encountered: