Code Monkey home page Code Monkey logo

node-sugarcrm-client's Introduction

Hi There πŸ‘‹

node-sugarcrm-client's People

Contributors

jcnade avatar nadej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-sugarcrm-client's Issues

Problem with get all fields of "get_entry_list"

When i try to get all module fields (using empty array in "select_fields" parameter) using method call 'get_entry_list' return me a name_value_list empty. Can you test this scenario?

Options i use:
var params = {
session : data.session,
module_name : data.module,
query: '',
order_by : '',
offset : '0',
select_fields : [],
link_name_to_fields_array : [],
max_results : -1,
deleted : '0',
favorites : false
};

Not using error-first callbacks

In general callbacks are expected to return error first.

There’s really only two rules for defining an error-first callback:

  1. The first argument of the callback is reserved for an error object. If an error occurred, it will be returned by the first err argument.
  2. The second argument of the callback is reserved for any successful response data. If no error occurred, err will be set to null and any successful data will be returned in the second argument.

Current:

try {
            var res = JSON.parse(body);
            callback(res, false);
        } catch (e) {
            callback(false, { error: body } );
        }

What license do you use?

I am impressed with your module and would like to use it, but there is no license info in your README.md. What license are you releasing this under?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.