question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Processor interface missing fields

See original GitHub issue

The definition for Processor, seems to be missing several of the fields described in the documentation for Package#processor. Also, I think the $process method should be listed as optional.

import {Package} from 'dgeni';

export default new Package('example')
  .processor({name: 'works', $process() {}})

  .processor({name: 'does-not-work'})

  .processor({name: 'also-does-not-work', $process() {}, $runBefore: ['works']})

  .processor({name: 'still-does-not-work', $process() {}, $runAfter: ['works']})
;

I would be happy to submit a PR for this issue if that would be helpful.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
petebacondarwincommented, Jun 15, 2017

Done 😃

0reactions
dhergescommented, Jun 15, 2017

Yes!

Have a good night!

Read more comments on GitHub >

github_iconTop Results From Across the Web

json.Unmarshal to map[string]interface{} missing field #33179
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. Comments. @ ...
Read more >
Locating Missing Processor Resources Assigned to Shared ...
Problem. Processing units assigned to a shared processor pool as "reserved processing units" cannot be directly assigned to a partition.
Read more >
NetSuite Applications Suite - Overwrite Missing Fields
Customizing the Fixed Assets Report Template through the User Interface ... Troubleshooting Missing Retrieved Products in NetSuite Connector ...
Read more >
Why does type Record sometimes complain about missing ...
I.e. if Record does not demand all possible properties to actually exist, why is the result an object type with required fields instead...
Read more >
Item processing - Spring
One typical use for an item processor is to filter out records before they are passed to the ItemWriter . Filtering is an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found