Questions tagged [hydration]

Hydration is a service provided through Adobe phonegap build that allows for installed applications to be updated over the internet.

More information can be found on their product page http://docs.phonegap.com/phonegap-build/tools/hydration/

143 questions
0
votes
0 answers

How to add an item in the Collection of an already hydrated entity

In Sylius, translatable entities use an ArrayCollection to handle translations, for example Product entity has ProductTranslation entities in translations attribute. Given an already hydrated entity $object from the database we have one item in…
DjLeChuck
  • 308
  • 5
  • 17
0
votes
2 answers

why I could not rehydrate more than 18 tweets out of 24000 tweet ids using TWARC/ hydrator app? Does any one know a better way?

I have a question regarding rehydrate of the tweet's text. Any help would be appreciated. This is the source of my data; which is about corona tweets: source of data set I have downloaded a data set from it which is in the photo (named…
zaraa s
  • 25
  • 4
0
votes
1 answer

Preact isn't replacing dom elements on rehydration?

I'm trying to learn rehydration of dom using preact. For some unknown reason, the render function isn't replacing the original DOM node but rather appending to it. https://github.com/preactjs/preact/issues/24, The 3rd parameter of render should…
Armeen Moon
  • 18,061
  • 35
  • 120
  • 233
0
votes
1 answer

Vue async component SSR rehydration

Using Vue async components with SSR is causing rehydration on page refresh. Is there a way not to cause components update without reason? Markup from SSR and on client is the same. https://v2.vuejs.org/v2/guide/components-dynamic-async.html
Trouble
  • 428
  • 3
  • 21
0
votes
1 answer

Symfony mass hydration from one repository to another

I have the next code that is executed ok but it takes too much time... is there any way i can optomize the this with createQueryBuilder and update methods? here is the current function: private function getCsv() { $file =…
3pepe3
  • 573
  • 6
  • 23
0
votes
1 answer

Zend Framework child collection not hydrating properly

I have an issue with the values of a child collection not being hydrated properly. I'm using zend framework 3 with doctrine 2. Since it's a lot of code that I would have to copy, I will describe what I'm doing and if needed I will update with…
0
votes
0 answers

Nested embedded object incorrectly hydrates to null (Doctrine2, php)

Summary: Doctrine Embedded types are failing to be populated when they are contained in entities which are themselves contained in another top-level entity. Details: I have a top-level entity A which has a ManyToOne relationship with an…
Hadden Uff
  • 99
  • 2
  • 10
0
votes
1 answer

Custom hydrator for one-to-many relationship in symfony 3.4

I have 2 entities : User, Article and a many-to-many relationship with attribute to describe the User interactions with the Articles . The attribute describe the kind of interaction (like, bookmark...). In this case, i need an intermediate entity…
plancton
  • 13
  • 3
0
votes
1 answer

Hydrating a React/Redux App From a REST API

I have a React/Redux application for my front-end, and a REST API for the backend and I use JWT as a sort of 'session' id (comes out of the box with Laravel Passport, my oAuth server). Anyways, I was wondering what the best strategy is for…
Carwyn Stephen
  • 134
  • 4
  • 23
0
votes
2 answers

doctrine2, retrieve associated data from inverse side

I have 2 entities. The simple logic is that a user has many delivery address, so in the future they will be able to choose one of them for their deliveries. First entity, Direccion (address).
0
votes
0 answers

phonegap hydration is enabled?

Home come, can i only go online with my app if, hydration is enbabled in the phonegap settings? I thought is was because i didnt have a keystore, but i got that, so it is not that. It is very important that my app is able to go online, and i dont…
0
votes
1 answer

Cannot insert hydration data to Google Fit

I am trying to insert a hydration data into the Google Fit. But I unable to insert the data. Here is my code: BuildFitnessClient: private void buildFitnessClient() { Log.w("Fit","inside buildFitness"); // Create the Google API Client if…
Shankar S
  • 193
  • 2
  • 5
  • 16
0
votes
0 answers

Hydrator and Naming Strategy in Silex or Symfony

I'm looking for some Hydrator or Factory Hydrator with configure many different strategy mapping fields for Silex or Symfony. I have many dimension array with different structure and I want to set some rule or mapping and create one the same object…
Hary
  • 33
  • 6
0
votes
1 answer

how create a collection of models from array with their IDs - Laravel

I am creating a foreach loop with button attach (name)' for each model which is not connected to the base model with abelongsToMany` relation. I have an array with IDs for a certain model $attached_stages =…
Peter
  • 2,634
  • 7
  • 32
  • 46
0
votes
1 answer

Zend 2 Hydrator Strategy restricting keys

I've been playing with the Zend Hydrator class today and just found the Naming strategies for converting the input keys on the fly. But when playing with the MapNamingStrategy in conjunction with the ObjectProperty hydrator, it seems to add…
Scott
  • 7,983
  • 2
  • 26
  • 41
1 2 3
9
10