Skip to content
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

PRC-788: clean up api and services (see details) #293

Merged
merged 2 commits into from
Oct 30, 2018
Merged

PRC-788: clean up api and services (see details) #293

merged 2 commits into from
Oct 30, 2018

Conversation

severinbeauvais
Copy link
Contributor

@severinbeauvais severinbeauvais commented Oct 26, 2018

  • added missing new object mappings in services
  • moved object mappings into their respective service
  • renamed some functions for consistency
  • replaced some _.each with .forEach
  • removed remaining (obsolete) caching in services
  • fixed some model constructors
  • added missing isPublished code to models
  • get documents for all comments (for easier merge with PR-536)
  • refactored api.ts to use template literals and helper function for simpler code
  • added missing / fixed incorrect typings
  • reduced getAllApplications max records
  • count only pending comments
  • removed fields for add/save since API ignores them
  • removed superfluous getNumComments flag
  • removed broken change detection from search page
  • added params to comment and decision services
  • replaced forEach() with for() in models

…ect mappings into their respective service + replaced some _.each with .forEach + removed remaining caching in services + fixed some model constructors + added missing isPublished code to models + reduced getAllApplications max records + count only pending comments + get documents for all comments + removed fields for add/save since API ignores them + removed superfluous getNumComments flag + removed broken change detection from search page + added params to comment and decision services + replaced forEach() with for() in models only
@marklise marklise merged commit 0a6848b into bcgov:scale Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants