Is dynamic template allowed in nested fields?

I see limitation on number of nested fields starting ES 2.3 - https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-2.3.html
I have defined a mapping with dynamic template in nested field and got the below exception
> Caused by: MapperParsingException[Mapping definition for [_def] has unsupported parameters: [dynamic_templates : [{others={mapping={index=analyzed, omit_norms=true, store=true}, match=*}}]]]
> at org.elasticsearch.index.mapper.DocumentMapperParser.checkNoRemainingFields(DocumentMapperParser.java:171)
> at org.elasticsearch.index.mapper.DocumentMapperParser.checkNoRemainingFields(DocumentMapperParser.java:165)
> at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:304)
> at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:218)
> at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)
> at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)
> at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)
> at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:508)
> at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:288)
> at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:329)
> ... 8 more

Does this mean dynamic template cannot be defined in nested fields?

What does the mapping look like?

Please find the mapping below
> {
> "work": {
> "mappings": {
> "def": {
> "_all": {
> "enabled": false
> },
> "_source": {
> "enabled": false
> },
> "_timestamp": {},
> "properties": {
> "_attachments": {
> "type": "nested",
> "properties": {
> "_attachmentContent": {
> "type": "string",
> "norms": {
> "enabled": false
> }
> },
> "dynamic_templates": [
> {
> "model": {
> "mapping": {
> "index": "not_analyzed",
> "omit_norms": true,
> "store": true
> },
> "match": "_m*"
> }
> }
> ]
> }
> }
> }
> }
> }
> }
> }

I have the same question. How can we define a dynamic template for fields which are of nested type?