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

Add patch on connection creation #273

Merged
merged 3 commits into from
Apr 1, 2019
Merged

Conversation

Mognom
Copy link
Contributor

@Mognom Mognom commented Mar 7, 2017

Add connections to the server on creation using a PATCH request.

@@ -185,6 +185,21 @@
privates.get(this).connections.push(connection);
}

// Create the conection on the server
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Missing tests (see js_tests/wirecloud/WiringSpec.js for more details).
  • This code make requests for persisting volatile connections when it shouldn't.
  • The commit option must disappear and the code should assume commit === true.
  • The createConnection method should return Promises.

@aarranz aarranz changed the title Add patch on connection creation / deletion Add patch on connection creation Mar 9, 2017
@aarranz aarranz merged commit 8c85946 into Wirecloud:develop Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants