wayfair / hypernova-php

PHP client for rendering your React components via Hypernova.
BSD 2-Clause "Simplified" License
76 stars 21 forks source link

Add metadata to `Job` #5

Closed andrewrota closed 7 years ago

andrewrota commented 7 years ago

Pass metadata into Job from request so it can be used in Hypernova server. This could be useful for data that needs to be passed to the request, but shouldn't actually end up in the component props.

codecov-io commented 7 years ago

Codecov Report

Merging #5 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             master     #5   +/-   ##
=======================================
  Coverage       100%   100%           
- Complexity       56     57    +1     
=======================================
  Files             5      5           
  Lines           138    143    +5     
=======================================
+ Hits            138    143    +5
Impacted Files Coverage Δ Complexity Δ
src/Job.php 100% <100%> (ø) 6 <1> (+1) :arrow_up:
src/plugins/DevModePlugin.php 100% <0%> (ø) 6% <0%> (ø) :arrow_down:
src/Renderer.php 100% <0%> (ø) 32% <0%> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b574d2c...0105511. Read the comment docs.