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

incorrect attribute data array format #4

Open
nimasdj opened this issue Aug 1, 2015 · 1 comment
Open

incorrect attribute data array format #4

nimasdj opened this issue Aug 1, 2015 · 1 comment

Comments

@nimasdj
Copy link
Contributor

nimasdj commented Aug 1, 2015

I think attributes must be a separate array itself, otherwise this is impossible to parse array, and user will be forced to use strops() to find attr:

I mean this:

  'attr:status'=>'success',

must be like

[attr:] => array(
                       [status] => 'success'
)

and this:

    'attr:id'=>987654321,

must be:

[attr:] => array(
                       [id] => 987654321
)

but this has correct format already:

    'attr:'=>array(
      'geo-coded'=>TRUE,
      'lat'=>'0.0000',
      'lon'=>'-0.0000'
    ),

regardless attributes data is array already or not, it must always have array format. otherwise this is impossible to parse array, and user will be forced to use strops() to find attributes.

@nimasdj
Copy link
Contributor Author

nimasdj commented Aug 4, 2015

@jtrumbull I hope you consider to fix this soon as your lib is useful for us and we are stuck!

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

No branches or pull requests

1 participant