This is a migrated thread and some comments may be shown as answers.

DataSource model schema field names

0 Answers 92 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Kuangyi
Top achievements
Rank 1
Kuangyi asked on 02 Oct 2012, 03:57 PM
Is there a list of unallowed parameter names?

I had

schema: {
                model: {
                    id: "id",
                    hasChildren: "hasChildren",
                    children: "items",
                    fields: {
                        level: {
                            type: "number",
                            editable: true,
                            nullable: false
                        }
                    }
                }
            }

Which kept failing for some unknown reason.  Eventually I tried changing a working dataSource's extra param to "level" and it started failing.  Then I realized that "level" must already be used in dataSource or something.

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Kuangyi
Top achievements
Rank 1
Share this question
or