Skip to content
This repository was archived by the owner on Jul 30, 2018. It is now read-only.

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Oct 26, 2016

Type: refactor

Description: Makes file and export names, and default exports, more consistent. This doesn't contain any changes in functionality.

Related Issue: #???

Please review this checklist before submitting your PR:

  • There is a related issue
  • All contributors have signed a CLA
  • All code matches the style guide
  • The code passes the CI tests
  • Unit or Functional tests are included in the PR
  • The PR increases or maintains the overall unit test coverage percentage
  • The code is ready to be merged

Use createX pattern for all modules that export factory
functions.

Export factory function as default for all modules that
export factory functions.

Move query interface to interfaces file, to separate it
from the createCompoundQuery factory.

@maier49 maier49 force-pushed the refactor-file-and-export-names branch from 3cf9b28 to 2701434 Compare October 26, 2016 20:44
@codecov-io
Copy link

codecov-io commented Oct 26, 2016

Current coverage is 99.79% (diff: 100%)

Merging #32 into master will increase coverage by <.01%

@@             master        #32   diff @@
==========================================
  Files            17         17          
  Lines           979        985     +6   
  Methods           5          5          
  Messages          0          0          
  Branches        162        162          
==========================================
+ Hits            977        983     +6   
  Misses            1          1          
  Partials          1          1          

Powered by Codecov. Last update cf257dc...5416e63

@maier49 maier49 mentioned this pull request Oct 27, 2016
7 tasks
Copy link
Member

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment...

@@ -26,7 +25,7 @@ function toString(...segments: string[]): string {
});
}

export function createPointer(...segments: string[]): JsonPointer {
function createPointer(...segments: string[]): JsonPointer {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we name this createJsonPointer to reflect the modules name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, fixed.

@dylans dylans modified the milestones: 2016.10, 2016.11 Oct 31, 2016
@maier49 maier49 force-pushed the refactor-file-and-export-names branch from 6065c44 to 3c6b5b5 Compare November 2, 2016 17:26
Use `createX` pattern for all modules that export factory
functions.

Export factory function as default for all modules that
export factory functions.

Move query interface to interfaces file, to separate it
from the createCompoundQuery factory.
@maier49 maier49 force-pushed the refactor-file-and-export-names branch from 3c6b5b5 to af8226f Compare November 4, 2016 15:30
Use `createX` pattern for all modules that export factory
functions.

Export factory function as default for all modules that
export factory functions.

Move query interface to interfaces file, to separate it
from the createCompoundQuery factory.
Copy link
Member

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🦃

@maier49 maier49 merged commit 97eea0f into dojo:master Nov 16, 2016
@maier49 maier49 deleted the refactor-file-and-export-names branch November 16, 2016 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants