Skip to content

MrTrick
MrTrick

  • Joined on Sep 15, 2009
Jun 27, 2016
@MrTrick
May 5, 2016
@MrTrick

This is an issue for me as well - was this solved by some revision?

May 3, 2016
Mar 29, 2016
@MrTrick

Sorry if I came across as overly blunt. Yes that's quite true, many frameworks use HTTP exceptions as a mechanism to trigger the appropriate kind o…

Mar 29, 2016
@MrTrick

@crazycodr I think 'HttpException' makes sense as a base name, yes. I've thought about the role of exceptions a bit more, and I'm not sure any more…

Mar 29, 2016
@MrTrick

@crazycodr Looks good, but something seems wrong about defining getHttpCode() in every child class when it's really a shared feature of every HTTP …

Mar 25, 2016
@MrTrick

Hey, looks good! I read through https://github.com/crazycodr/standard-exceptions/compare/version2 to get an idea of what the changes were. Couple o…

Mar 23, 2016
@MrTrick
HTTP exceptions should by-default use the semantically correct code.
Mar 23, 2016
@MrTrick
Concrete exceptions should have abstract parent to allow try-catch, etc to work properly.
Mar 23, 2016
Mar 23, 2016
@MrTrick
Mar 23, 2016
@MrTrick
Mar 23, 2016
Mar 23, 2016
@MrTrick
Mar 23, 2016
Mar 23, 2016
Mar 8, 2016
@MrTrick

@stevenxryan I've got something duct-taped together that swagger seems for the most part to accept: https://gist.github.com/MrTrick/2a46a65eee763b2…

Mar 7, 2016
@MrTrick

Hi @stevenxryan, My apologies - since spending a heap more time with swagger I've discovered all sorts of horrible things... Like how the phrase "s…

Feb 29, 2016
Feb 13, 2016
@MrTrick

Sounds good to me, at least as far as; A solution to the "reusability" issue should not try to completely change other aspects of the spec.

Feb 10, 2016
MrTrick commented on pull request json-api/json-api#980
@MrTrick

This PR is related to #946, but could be merged with/without it.

Feb 9, 2016
MrTrick opened pull request json-api/json-api#980
@MrTrick
Suggested structural change and fix to meet schema
1 commit with 24 additions and 18 deletions
Feb 9, 2016
@MrTrick
  • eb196d6
    Moved "relationship" into its own definition, added missing "type":"o…
Feb 9, 2016
@MrTrick

I agree, it would be very useful. Several validation libraries will use the "$schema" property to automatically validate the document against that…

Feb 8, 2016
@MrTrick

@jasonh-n-austin yes that's correct. My example was kept very simple to avoid confusion, but one would probably use a reference for the parameter too.

Feb 8, 2016
@MrTrick
Deviation from draft4 spec - additionalItems / additionalProperties is object or boolean, not object or false.
Feb 8, 2016
@MrTrick
Fixed EOF bug
1 commit with 7 additions and 1 deletion
Feb 8, 2016
@MrTrick
Something went wrong with that request. Please try again.