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

Nested Schema not displaying all attributes #134

Open
elizabethhart opened this issue Nov 16, 2018 · 2 comments
Open

Nested Schema not displaying all attributes #134

elizabethhart opened this issue Nov 16, 2018 · 2 comments

Comments

@elizabethhart
Copy link

Expected behavior

I see all attributes of the nested schema in object's Detail view.

Actual behavior

There are missing attributes of the nested schema in object's Detail view.

Failure Logs

What I see in Forest:

LOCATION
ADR_ADDRESS
444 N Wells St, Chicago, IL 60654, USA

FORMATTED_ADDRESS
444 N Wells St, Chicago, IL 60654, USA

ICON
https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png

ID

NAME
444 N Wells St

PLACE_ID
ChIJ72B3HbQsDogRrhrr3Z-s0qE

REFERENCE
ChIJ72B3HbQsDogRrhrr3Z-s0qE

SCOPE
GOOGLE

URL
https://maps.google.com/?q=444+N+Wells+St,+Chicago,+IL+60654,+USA&ftid=0x880e2cb41d7760ef:0xa1d2ac9fddeb1aae

UTC_OFFSET
-300

VICINITY
Chicago

What I see in my database:

"location": {
    "adr_address": "<span class=\"street-address\">444 N Wells St<\/span>, <span class=\"locality\">Chicago<\/span>, <span class=\"region\">IL<\/span> <span class=\"postal-code\">60654<\/span>, <span class=\"country-name\">USA<\/span>",
    "formatted_address": "444 N Wells St, Chicago, IL 60654, USA",
    "geometry": {
        "viewport": {
            "east": -87.63281016970848,
            "north": 41.8918673302915,
            "west": -87.6355081302915,
            "south": 41.8891693697085
        },
        "location": {
            "lng": -87.63428160000001,
            "lat": 41.89051509999999
        }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
    "id": "079f93f07af7be7a9e4ab4115e158b4f3094de65",
    "name": "444 N Wells St",
    "place_id": "ChIJ72B3HbQsDogRrhrr3Z-s0qE",
    "reference": "ChIJ72B3HbQsDogRrhrr3Z-s0qE",
    "scope": "GOOGLE",
    "url": "https://maps.google.com/?q=444+N+Wells+St,+Chicago,+IL+60654,+USA&ftid=0x880e2cb41d7760ef:0xa1d2ac9fddeb1aae",
    "utc_offset": -300,
    "vicinity": "Chicago",
    "_id": {
        "$oid": "5bd20ddda7756700044cb058"
    },
    "types": [
        "street_address"
    ],
    "html_attributions": [],
    "address_components": [
        {
            "types": [
                "street_number"
            ],
            "short_name": "444",
            "long_name": "444"
        },
        {
            "types": [
                "route"
            ],
            "short_name": "N Wells St",
            "long_name": "North Wells Street"
        },
        {
            "types": [
                "neighborhood",
                "political"
            ],
            "short_name": "River North",
            "long_name": "River North"
        },
        {
            "types": [
                "locality",
                "political"
            ],
            "short_name": "Chicago",
            "long_name": "Chicago"
        },
        {
            "types": [
                "administrative_area_level_2",
                "political"
            ],
            "short_name": "Cook County",
            "long_name": "Cook County"
        },
        {
            "types": [
                "administrative_area_level_1",
                "political"
            ],
            "short_name": "IL",
            "long_name": "Illinois"
        },
        {
            "types": [
                "country",
                "political"
            ],
            "short_name": "US",
            "long_name": "United States"
        },
        {
            "types": [
                "postal_code"
            ],
            "short_name": "60654",
            "long_name": "60654"
        }
    ]
},

Context

  • Package Version: 2.15.3
  • Express Version: 4.16.2
  • Mongoose Version: 4.13.7
  • MongoDB Version: 2.2.30
@jblok
Copy link

jblok commented Nov 20, 2018

I get this too - it's very annoying

@arnaudbesnier
Copy link
Member

Hi @elizabethhart @jblok ,
I think it has been improved to, at least, provide JSON inputs for fields containing "deep" nested attributes in the record details view.

Did you re-try recently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants