Skip to content

_arrange_cols makes it so that user can specify whether they want a plural ID or a singular ID - needed? #204

@ehinman

Description

@ehinman

This is confusing behavior, specifically with the get_monitoring_locations() function. The service is called "monitoring-locations", but the decision was made to return the "id" column as "monitoring_location_id", NOT "monitoring_locationS_id". However, the behavior is as follows:

  • someone could request to have the "id" column returned. In this case, the column returned is named "monitoring_location_id"
  • someone could not specify properties at all. In this case, the column returned is named "monitoring_location_id"
  • someone could notice the pattern that the "id" columns are renamed to service + "_id" and request to have the "monitoring_locations_id" returned. In this case, the column returned is named "monitoring_locations_id".

Is this a necessary offering? I'm not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions