Skip to content

🐛 Bug Report: point and polygon #218

@Nicolas469

Description

@Nicolas469

👟 Reproduction steps

When I want to generate the type:
appwrite types -l ts

👍 Expected behavior

Table rows like this one:
{ "key": "center", "type": "point", "required": false, "array": false, "default": null }
should be supported

👎 Actual Behavior

But they are not, I've got this error:
`✗ Error: ejs:24
22| <% const propertyName = strict ? toCamelCase(attribute.key) : attribute.key; -%>
23| <% const isValidIdentifier = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(propertyName); -%>

24| <% if (isValidIdentifier) { %><%- propertyName %><% } else { %>"<%- propertyName %>"<% } %>: <%- getType(attribute, collections) %>;
25| <% } -%>
26| }<% if (index < collections.length - 1) { %>
27| <% } %>

Unknown attribute type: point`

🎲 Appwrite version

Version 0.10.x

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions