Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate merge issues #67

Open
SomeKittens opened this issue Feb 15, 2016 · 1 comment
Open

Investigate merge issues #67

SomeKittens opened this issue Feb 15, 2016 · 1 comment
Labels

Comments

@SomeKittens
Copy link
Owner

Looks like .merge is broken in latest:

let noop = () => {};
gustav.source('intv', () => Observable.interval(100));
gustav.transformer('doo', iO => iO.do(noop))
gustav.sink('tapper', iO => iO.subscribe(noop));
gustav.sink('consooole', iO => iO.subscribe(noop));

let c0 = gustav.createWorkflow('c0')
  .source('intv')
  .transf('doo');

let c1 = gustav.createWorkflow('c1')
  .source('intv');

// TODO: MERGE BROKEN
let c = gustav.createWorkflow('manySauce')
  .from('redis', 'wikiraw')
  // .merge(c0)
  .transf('doo')
  // .merge(c1)
  .transf('doo')
  .sink('consooole');

Results in: [Error] Error: To node Symbol(doo) not registered

Fix this up and write some tests so this doesn't happen again.

@SomeKittens
Copy link
Owner Author

Ah, looks like the current version of .merge only works when merging in two branches of the same workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant