Skip to content

Commit

Permalink
Sync documentation for 'insert_before' rather than 'schema_order'.
Browse files Browse the repository at this point in the history
Fixes #104
  • Loading branch information
tseaver committed May 2, 2013
1 parent e83cebb commit f0db476
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,13 @@
Unreleased
------------------

Bug Fixes
~~~~~~~~~

- Sync documentation with 0.9.9 change to use ``insert_before`` rather than
``schema_order``. See https://github.com/Pylons/colander/issues/104


1.0a2 (2013-01-30)
------------------

Expand Down
5 changes: 3 additions & 2 deletions docs/basics.rst
Expand Up @@ -134,8 +134,9 @@ of the *name*.
The *description* of a schema node is metadata about a schema node
that can be used by higher-level systems. By default, it is empty.

The *schema_order* of a schema node is an integer which defines its ultimate
order position within its parent node. It is not useful unless a mapping
The *insert_before* of a schema node is a string: if supplied, it names
a sibling defined by a superclass for its parent node; the current node
will be inserted before the named node. It is not useful unless a mapping
schema is inherited from another mapping schema, and you need to control the
ordering of the resulting nodes.

Expand Down

0 comments on commit f0db476

Please sign in to comment.