graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Include extra data in Meta in _meta

Open adrianschneider94 opened this issue 4 years ago • 3 comments

I'm building an authorization middleware and I want to include functions/data in the Meta class to store the relevant information in the class itself. However, all custom args in Meta are dropped at the moment. I think there shouldn't be an issue to include other args in an extra attribute of _meta.

adrianschneider94 avatar Apr 21 '21 10:04 adrianschneider94

Hey, could anyone have a look on this? It's a very tiny change and does not break anything...

adrianschneider94 avatar May 27 '21 20:05 adrianschneider94

Now the tests are broken... I have no idea, why...

adrianschneider94 avatar May 27 '21 20:05 adrianschneider94

Codecov Report

Merging #1328 (bc73823) into master (355601b) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1328   +/-   ##
=======================================
  Coverage   95.44%   95.45%           
=======================================
  Files          49       49           
  Lines        1582     1583    +1     
=======================================
+ Hits         1510     1511    +1     
  Misses         72       72           
Impacted Files Coverage Δ
graphene/types/base.py 96.96% <100.00%> (+0.09%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 27 '22 16:08 codecov[bot]