ngrx-query icon indicating copy to clipboard operation
ngrx-query copied to clipboard

Support PATCH as a valid HttpOption method

Open mbark opened this issue 8 years ago • 1 comments

Currently the supported methods for HttpOptions are: 'DELETE' | 'GET' | 'HEAD' | 'POST' | 'PUT', however PATCH and OPTIONS are also a valid methods and it would be nice if the the method field in HttpOptions supported them. Right now I'm getting around the problem by simply bypassing the typing with method: <any>'PATCH'.

mbark avatar Mar 08 '18 11:03 mbark

You're right those should be added. I'd accept a PR if you want to add that to the types.

isaacplmann avatar Mar 08 '18 14:03 isaacplmann