Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature.id() can be String and Number #1033

Closed
wants to merge 1 commit into from
Closed

Conversation

osana
Copy link
Contributor

@osana osana commented May 17, 2019

According to GeoJson spec Feature.id can be String or Number.

This will be Semver-Major change as id() has to return Object to support both String and Number.

After #1025 lands, CarmenFeature.id() should be modified as well.

closes #914

@osana osana self-assigned this May 17, 2019
@osana osana requested a review from tobrun May 17, 2019 03:52
@osana osana added this to the v5.0.0 milestone May 17, 2019
@stale stale bot added the Archived Issue archived due to lack of activity label Jul 16, 2019
@stale
Copy link

stale bot commented Jul 16, 2019

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this Jul 16, 2019
@langsmith langsmith reopened this Jul 16, 2019
@stale stale bot removed the Archived Issue archived due to lack of activity label Jul 16, 2019
@stale stale bot added the Archived Issue archived due to lack of activity label Sep 14, 2019
@stale
Copy link

stale bot commented Sep 14, 2019

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this Sep 14, 2019
@langsmith langsmith reopened this Sep 14, 2019
@stale stale bot removed the Archived Issue archived due to lack of activity label Sep 14, 2019
@stale stale bot added the Archived Issue archived due to lack of activity label Nov 13, 2019
@stale
Copy link

stale bot commented Nov 14, 2019

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this Nov 14, 2019
@langsmith langsmith reopened this Dec 12, 2019
@stale stale bot removed the Archived Issue archived due to lack of activity label Dec 12, 2019
*/
@Nullable
public String id() {
public Object id() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great to include as idAsString and idAsNumber facility methods (if the type doesn't match throw an exception).

@langsmith langsmith modified the milestones: v5.0.0, 5.1.0 Mar 7, 2020
@langsmith langsmith removed this from the 5.1.0 milestone Aug 21, 2020
@zugaldia
Copy link
Member

Stale.

@zugaldia zugaldia closed this Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support feature id as a number
4 participants