Skip to content

Restructure error messaging #1057

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

Merged
merged 2 commits into from
Nov 17, 2015
Merged

Conversation

Mitko-Kerezov
Copy link
Contributor

Detailed explanation can be found here: telerik/mobile-cli-lib#484

@ns-bot
Copy link

ns-bot commented Oct 13, 2015

Test PASSed.

@@ -14,6 +14,9 @@ fiber(() => {

let commandDispatcher: ICommandDispatcher = $injector.resolve("commandDispatcher");

let messages = <IMessagesService>$injector.resolve("$messagesService");
Copy link
Contributor

Choose a reason for hiding this comment

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

You may optionally use let messages: IMessagesService = $injector.resolve... for less code clutter.

@ligaz ligaz added this to the 1.5.0 milestone Oct 21, 2015
@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/restructure-error-messaging branch from b5802cd to bbb146c Compare November 16, 2015 10:36
@ns-bot
Copy link

ns-bot commented Nov 16, 2015

Test FAILed.

@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/restructure-error-messaging branch from bbb146c to 29995cb Compare November 16, 2015 11:00
@ns-bot
Copy link

ns-bot commented Nov 16, 2015

Test PASSed.

@rosen-vladimirov
Copy link
Contributor

👍

Dimitar Kerezov added 2 commits November 16, 2015 16:14
Makes use of JSON files containing string messages which can later be accessed from within the CLI. A dev command (dev-generate-messages) is introduced for ease of use and autocompletion.
There is a default json message file with is loaded by default however each client may provide their own json file and thus override keys, extend and so on.
Includes a bit of refactoring concerning swagger code generation - extracting/moving common interfaces/implementation classes to common.
@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/restructure-error-messaging branch from 29995cb to 76ca606 Compare November 16, 2015 14:15
@ns-bot
Copy link

ns-bot commented Nov 16, 2015

Test PASSed.

Mitko-Kerezov added a commit that referenced this pull request Nov 17, 2015
@Mitko-Kerezov Mitko-Kerezov merged commit 6abe032 into master Nov 17, 2015
@Mitko-Kerezov Mitko-Kerezov deleted the kerezov/restructure-error-messaging branch November 17, 2015 07:04
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.

6 participants