useApi now takes dependencies. #253
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#246-Make-shared-API-to-take-dependencies,-to-make-it-compatible-with-useTemperature"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
function useApi
send dependencies. Send null if no dependencies are needed.
ScheduleView is giving an error, I assume this is because the API_URL is 'temp'.
Other than that everything is displayed, tested running everything and everything shows and updates as they should. Added the SMHI views and tested them as well, they worked.
Could be a good idea to add a comment stating to send null if no dependencies are needed.
See comment in discussion
Ran the code, it worked.
Also, the requested comment was added from @b24idalu's review.
Also, after some discussion with @a22erigr, I fixed some issues with importing unused dependencies.
I call it good enough to merge!