Cornices / cornice

Build Web Services with Pyramid.
https://cornice.readthedocs.io
Other
384 stars 149 forks source link

Frame was always set to 2 for resource decorator. #518

Closed dugagjin closed 3 years ago

dugagjin commented 5 years ago

Which frame should be looked in defaults to 2 but was always 2 for resource decorator. This commit fixes this.

Natim commented 5 years ago

I remember this caught my attention in the past, not sure why we set it to 2.

Do you have a case in mind showing the issue? I'd like to add a test for this specific case.

leplatrem commented 3 years ago

Merged in #556